home *** CD-ROM | disk | FTP | other *** search
/ Sound Blastoff / Sound Blastoff.iso / Sound Utilities / Sound Siphon / Sound Siphon.rsrc / CODE_2.txt < prev    next >
Text File  |  1994-09-30  |  145KB  |  2,638 lines

  1. # near model CODE resource
  2. # jump table entries: 80-85 (6 of them)
  3. export_14:
  4. 00000000  4E56 0000                link       A6, 0
  5. 00000004  A9F4                     syscall    ExitToShell
  6. 00000006  4E5E                     unlink     A6
  7. 00000008  4E75                     rts
  8. 0000000A  8550                     or.w       [A0], D2
  9. 0000000C  616E                     bsr        +0x70 /* 0000007C */
  10. 0000000E  6963                     bvs        +0x65 /* 00000073 */
  11. 00000010  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  12. 00000014  0000 486D                ori.b      D0, 0x6D /* 'm' */
  13. 00000018  FFFC                     .extension 0xFFC // unimplemented
  14. 0000001A  A86E                     syscall    InitGraf
  15. 0000001C  A8FE                     syscall    InitFonts
  16. 0000001E  A912                     syscall    InitWindows
  17. 00000020  A930                     syscall    InitMenus
  18. 00000022  A9CC                     syscall    TEInit
  19. 00000024  486D 0092                pea.l      [A5 + 0x92 /* export_14 */]
  20. 00000028  A97B                     syscall    InitDialogs
  21. 0000002A  A850                     syscall    InitCursor
  22. 0000002C  2F3C 0000 FFFF           move.l     -[A7], 0xFFFF
  23. 00000032  201F                     move.l     D0, [A7]+
  24. 00000034  A032                     syscall    FlushEvents
  25. 00000036  A036                     syscall    MoreMasters
  26. 00000038  A036                     syscall    MoreMasters
  27. 0000003A  4E5E                     unlink     A6
  28. 0000003C  4E75                     rts
  29. 0000003E  8B49 6E69                pack       -[A5], -[A1], 0x6E69
  30. 00000042  7454                     moveq.l    D2, 0x54
  31. 00000044  6F6F                     ble        +0x71 /* 000000B5 */
  32. 00000046  6C62                     bge        +0x64 /* 000000AA */
  33. 00000048  6F78                     ble        +0x7A /* 000000C2 */
  34. 0000004A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  35. // begin alternate branch 0000004C-00000050
  36. fn0000004C:
  37. 0000004C  4E56 FFFC                link       A6, -0x0004
  38. // end alternate branch 0000004C-00000050
  39. fn0000004C: // (misaligned)
  40. 0000004E  FFFC                     .extension 0xFFC // unimplemented
  41. 00000050  422D FD64                clr.b      [A5 - 0x29C]
  42. 00000054  422D FD65                clr.b      [A5 - 0x29B]
  43. 00000058  4267                     clr.w      -[A7]
  44. 0000005A  2F3C 6576 6E74           move.l     -[A7], 0x65766E74 /* 'evnt' */
  45. 00000060  486E FFFC                pea.l      [A6 - 0x4]
  46. 00000064  4EBA 162A                jsr        [PC + 0x162A /* 00001690 */]
  47. 00000068  4A5F                     tst.w      [A7]+
  48. 0000006A  57C0                     seq        D0
  49. 0000006C  4400                     neg.b      D0
  50. 0000006E  1B40 FD66                move.b     [A5 - 0x29A], D0
  51. 00000072  42AD FD80                clr.l      [A5 - 0x280]
  52. 00000076  4227                     clr.b      -[A7]
  53. 00000078  4EBA 0EA4                jsr        [PC + 0xEA4 /* 00000F1E */]
  54. fn0000007C:
  55. 0000007C  101F                     move.b     D0, [A7]+
  56. 0000007E  4E5E                     unlink     A6
  57. 00000080  4E75                     rts
  58. 00000082  8B49 6E69                pack       -[A5], -[A1], 0x6E69
  59. 00000086  7447                     moveq.l    D2, 0x47
  60. 00000088  6C6F                     bge        +0x71 /* 000000F9 */
  61. 0000008A  6261                     bhi        +0x63 /* 000000ED */
  62. 0000008C  6C73                     bge        +0x75 /* 00000101 */
  63. 0000008E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  64. // begin alternate branch 00000090-00000096
  65. fn00000090:
  66. 00000090  4E56 0000                link       A6, 0
  67. 00000094  42A7                     clr.l      -[A7]
  68. // end alternate branch 00000090-00000096
  69. fn00000090: // (misaligned)
  70. 00000092  0000 42A7                ori.b      D0, 0xA7
  71. 00000096  3F3C 0080                move.w     -[A7], 0x80
  72. 0000009A  A9BF                     syscall    GetRMenu
  73. 0000009C  2B5F FD78                move.l     [A5 - 0x288], [A7]+
  74. 000000A0  2F2D FD78                move.l     -[A7], [A5 - 0x288]
  75. 000000A4  2F3C 4452 5652           move.l     -[A7], 0x44525652 /* 'DRVR' */
  76. label000000AA:
  77. 000000AA  A94D                     syscall    AppendResMenu/AddResMenu
  78. 000000AC  2F2D FD78                move.l     -[A7], [A5 - 0x288]
  79. 000000B0  4267                     clr.w      -[A7]
  80. 000000B2  A935                     syscall    InsertMenu
  81. 000000B4  42A7                     clr.l      -[A7]
  82. 000000B6  3F3C 0081                move.w     -[A7], 0x81
  83. 000000BA  A9BF                     syscall    GetRMenu
  84. 000000BC  2B5F FD7C                move.l     [A5 - 0x284], [A7]+
  85. 000000C0  2F2D FD7C                move.l     -[A7], [A5 - 0x284]
  86. // begin alternate branch 000000C2-000000C4
  87. label000000C2:
  88. 000000C2  FD7C                     .extension 0xD7C // unimplemented
  89. // end alternate branch 000000C2-000000C4
  90. label000000C2: // (misaligned)
  91. 000000C4  4267                     clr.w      -[A7]
  92. 000000C6  A935                     syscall    InsertMenu
  93. 000000C8  42A7                     clr.l      -[A7]
  94. 000000CA  3F3C 0082                move.w     -[A7], 0x82
  95. 000000CE  A9BF                     syscall    GetRMenu
  96. 000000D0  2B5F FD84                move.l     [A5 - 0x27C], [A7]+
  97. 000000D4  2F2D FD84                move.l     -[A7], [A5 - 0x27C]
  98. 000000D8  4267                     clr.w      -[A7]
  99. 000000DA  A935                     syscall    InsertMenu
  100. 000000DC  A937                     syscall    DrawMenuBar
  101. 000000DE  4E5E                     unlink     A6
  102. 000000E0  4E75                     rts
  103. 000000E2  8A53                     or.w       D5, [A3]
  104. 000000E4  6574                     bcs        +0x76 /* 0000015A */
  105. 000000E6  5570 4D65                subq.w     <<invalid full ext with IS == 1 and I/IS == 5>>, 2
  106. 000000EA  6E75                     bgt        +0x77 /* 00000161 */
  107. 000000EC  7300                     moveq.l    D1, 0x00
  108. 000000EE  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  109. // begin alternate branch 000000F0-000000F6
  110. fn000000F0:
  111. 000000F0  4E56 0000                link       A6, 0
  112. 000000F4  2F0C                     move.l     -[A7], A4
  113. // end alternate branch 000000F0-000000F6
  114. fn000000F0: // (misaligned)
  115. 000000F2  0000 2F0C                ori.b      D0, 0xC
  116. 000000F6  4AAD FD80                tst.l      [A5 - 0x280]
  117. 000000FA  662E                     bne        +0x30 /* 0000012A */
  118. 000000FC  42A7                     clr.l      -[A7]
  119. 000000FE  3F3C 0080                move.w     -[A7], 0x80
  120. 00000102  A9BC                     syscall    GetPicture
  121. 00000104  285F                     movea.l    A4, [A7]+
  122. 00000106  200C                     move.l     D0, A4
  123. 00000108  6720                     beq        +0x22 /* 0000012A */
  124. 0000010A  42A7                     clr.l      -[A7]
  125. 0000010C  3F3C 0080                move.w     -[A7], 0x80
  126. 00000110  42A7                     clr.l      -[A7]
  127. 00000112  4878 FFFF                push.l     0xFFFF
  128. 00000116  A9BD                     syscall    GetNewWindow
  129. 00000118  2B5F FD80                move.l     [A5 - 0x280], [A7]+
  130. 0000011C  4AAD FD80                tst.l      [A5 - 0x280]
  131. 00000120  6708                     beq        +0xA /* 0000012A */
  132. 00000122  2F2D FD80                move.l     -[A7], [A5 - 0x280]
  133. 00000126  2F0C                     move.l     -[A7], A4
  134. 00000128  A92E                     syscall    SetWindowPic
  135. label0000012A:
  136. 0000012A  285F                     movea.l    A4, [A7]+
  137. 0000012C  4E5E                     unlink     A6
  138. 0000012E  4E75                     rts
  139. 00000130  9349                     subx.w     -[A1], -[A1]
  140. 00000132  6E73                     bgt        +0x75 /* 000001A7 */
  141. 00000134  7461                     moveq.l    D2, 0x61
  142. 00000136  6C6C                     bge        +0x6E /* 000001A4 */
  143. 00000138  5370 6C61                subq.w     [A0 + D6 * 4 + 0x61], 1
  144. 0000013C  7368                     moveq.l    D1, 0x68
  145. 0000013E  5363                     subq.w     -[A3], 1
  146. 00000140  7265                     moveq.l    D1, 0x65
  147. 00000142  656E                     bcs        +0x70 /* 000001B2 */
  148. 00000144  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  149. // begin alternate branch 00000146-0000014C
  150. fn00000146:
  151. 00000146  4E56 0000                link       A6, 0
  152. 0000014A  4267                     clr.w      -[A7]
  153. // end alternate branch 00000146-0000014C
  154. fn00000146: // (misaligned)
  155. 00000148  0000 4267                ori.b      D0, 0x67 /* 'g' */
  156. 0000014C  3F3C 0080                move.w     -[A7], 0x80
  157. 00000150  42A7                     clr.l      -[A7]
  158. 00000152  A985                     syscall    Alert
  159. 00000154  4E5E                     unlink     A6
  160. 00000156  4E75                     rts
  161. 00000158  8953                     or.w       [A3], D4
  162. label0000015A:
  163. 0000015A  686F                     bvc        +0x71 /* 000001CB */
  164. 0000015C  7741                     moveq.l    D3, 0x41
  165. 0000015E  626F                     bhi        +0x71 /* 000001CF */
  166. 00000160  7574                     moveq.l    D2, 0x74
  167. 00000162  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  168. // begin alternate branch 00000164-00000168
  169. fn00000164:
  170. 00000164  4E56 FF00                link       A6, -0x0100
  171. // end alternate branch 00000164-00000168
  172. fn00000164: // (misaligned)
  173. 00000166  FF00                     .extension 0xF00 // unimplemented
  174. 00000168  48E7 0300                movem.l    -[A7], D6,D7
  175. 0000016C  4267                     clr.w      -[A7]
  176. 0000016E  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  177. 00000172  A86A                     syscall    HiWord
  178. 00000174  3E1F                     move.w     D7, [A7]+
  179. 00000176  4267                     clr.w      -[A7]
  180. 00000178  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  181. 0000017C  A86B                     syscall    LoWord
  182. 0000017E  3C1F                     move.w     D6, [A7]+
  183. 00000180  3007                     move.w     D0, D7
  184. 00000182  6B44                     bmi        +0x46 /* 000001C8 */
  185. 00000184  0440 0081                subi.w     D0, 0x81
  186. 00000188  672E                     beq        +0x30 /* 000001B8 */
  187. 0000018A  6A3C                     bpl        +0x3E /* 000001C8 */
  188. 0000018C  5240                     addq.w     D0, 1
  189. 0000018E  6B38                     bmi        +0x3A /* 000001C8 */
  190. 00000190  0C46 0001                cmpi.w     D6, 0x1
  191. 00000194  6606                     bne        +0x8 /* 0000019C */
  192. 00000196  4EBA FFAE                jsr        [PC - 0x52 /* 00000146 */]
  193. 0000019A  602C                     bra        +0x2E /* 000001C8 */
  194. label0000019C:
  195. 0000019C  42A7                     clr.l      -[A7]
  196. 0000019E  3F3C 0080                move.w     -[A7], 0x80
  197. 000001A2  A949                     syscall    GetMenuHandle
  198. label000001A4:
  199. 000001A4  3F06                     move.w     -[A7], D6
  200. 000001A6  486E FF00                pea.l      [A6 - 0x100]
  201. 000001AA  A946                     syscall    GetMenuItemText/GetItem
  202. 000001AC  4267                     clr.w      -[A7]
  203. 000001AE  486E FF00                pea.l      [A6 - 0x100]
  204. label000001B2:
  205. 000001B2  A9B6                     syscall    OpenDeskAcc
  206. 000001B4  548F                     addq.l     A7, 2
  207. 000001B6  6010                     bra        +0x12 /* 000001C8 */
  208. label000001B8:
  209. 000001B8  0C46 0001                cmpi.w     D6, 0x1
  210. 000001BC  6606                     bne        +0x8 /* 000001C4 */
  211. 000001BE  4EBA 0D0C                jsr        [PC + 0xD0C /* 00000ECC */]
  212. 000001C2  6004                     bra        +0x6 /* 000001C8 */
  213. label000001C4:
  214. 000001C4  4EBA 10FC                jsr        [PC + 0x10FC /* 000012C2 */]
  215. label000001C8:
  216. 000001C8  4267                     clr.w      -[A7]
  217. 000001CA  A938                     syscall    HiliteMenu
  218. 000001CC  4CDF 00C0                movem.l    D6,D7, [A7]+
  219. 000001D0  4E5E                     unlink     A6
  220. 000001D2  4E75                     rts
  221. 000001D4  8644                     or.w       D3, D4
  222. 000001D6  6F4D                     ble        +0x4F /* 00000225 */
  223. 000001D8  656E                     bcs        +0x70 /* 00000248 */
  224. 000001DA  7500                     moveq.l    D2, 0x00
  225. 000001DC  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  226. // begin alternate branch 000001DE-000001E2
  227. fn000001DE:
  228. 000001DE  4E56 FFFC                link       A6, -0x0004
  229. // end alternate branch 000001DE-000001E2
  230. fn000001DE: // (misaligned)
  231. 000001E0  FFFC                     .extension 0xFFC // unimplemented
  232. 000001E2  48E7 0108                movem.l    -[A7], D7,A4
  233. 000001E6  286E 0008                movea.l    A4, [A6 + 0x8]
  234. 000001EA  4267                     clr.w      -[A7]
  235. 000001EC  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  236. 000001F0  486E FFFC                pea.l      [A6 - 0x4]
  237. 000001F4  A92C                     syscall    FindWindow
  238. 000001F6  3E1F                     move.w     D7, [A7]+
  239. 000001F8  3007                     move.w     D0, D7
  240. 000001FA  673C                     beq        +0x3E /* 00000238 */
  241. 000001FC  6B3A                     bmi        +0x3C /* 00000238 */
  242. 000001FE  5740                     subq.w     D0, 3
  243. 00000200  6736                     beq        +0x38 /* 00000238 */
  244. 00000202  6A06                     bpl        +0x8 /* 0000020A */
  245. 00000204  5240                     addq.w     D0, 1
  246. 00000206  6A18                     bpl        +0x1A /* 00000220 */
  247. 00000208  6006                     bra        +0x8 /* 00000210 */
  248. label0000020A:
  249. 0000020A  5540                     subq.w     D0, 2
  250. 0000020C  6A2A                     bpl        +0x2C /* 00000238 */
  251. 0000020E  601A                     bra        +0x1C /* 0000022A */
  252. label00000210:
  253. 00000210  42A7                     clr.l      -[A7]
  254. 00000212  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  255. 00000216  A93D                     syscall    MenuSelect
  256. 00000218  4EBA FF4A                jsr        [PC - 0xB6 /* 00000164 */]
  257. 0000021C  588F                     addq.l     A7, 4
  258. 0000021E  6018                     bra        +0x1A /* 00000238 */
  259. label00000220:
  260. 00000220  2F0C                     move.l     -[A7], A4
  261. 00000222  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  262. 00000226  A9B3                     syscall    SystemClick
  263. 00000228  600E                     bra        +0x10 /* 00000238 */
  264. label0000022A:
  265. 0000022A  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  266. 0000022E  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  267. 00000232  486D FF88                pea.l      [A5 - 0x78]
  268. 00000236  A925                     syscall    DragWindow
  269. label00000238:
  270. 00000238  4CDF 1080                movem.l    D7,A4, [A7]+
  271. 0000023C  4E5E                     unlink     A6
  272. 0000023E  4E75                     rts
  273. 00000240  8B44 6F4D                pack       D5, D4, 0x6F4D
  274. 00000244  CF75 7365                .incomplete
  275. label00000248:
  276. 00000248  446F 776E                neg.w      [A7 + 0x776E]
  277. 0000024C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  278. // begin alternate branch 0000024E-0000025C
  279. fn0000024E:
  280. 0000024E  4E56 0000                link       A6, 0
  281. 00000252  206E 0008                movea.l    A0, [A6 + 0x8]
  282. 00000256  0828 0000 000E           btst.b     [A0 + 0xE], 0x0
  283. // end alternate branch 0000024E-0000025C
  284. fn0000024E: // (misaligned)
  285. 00000250  0000 206E                ori.b      D0, 0x6E /* 'n' */
  286. 00000254  0008 0828                ori.b      A0, 0x28 /* '(' */
  287. 00000258  0000 000E                ori.b      D0, 0xE
  288. 0000025C  671A                     beq        +0x1C /* 00000278 */
  289. 0000025E  42A7                     clr.l      -[A7]
  290. 00000260  206E 0008                movea.l    A0, [A6 + 0x8]
  291. 00000264  1028 0005                move.b     D0, [A0 + 0x5]
  292. 00000268  4880                     ext.w      D0
  293. 0000026A  0240 00FF                andi.w     D0, 0xFF
  294. 0000026E  3F00                     move.w     -[A7], D0
  295. 00000270  A93E                     syscall    MenuKey
  296. 00000272  4EBA FEF0                jsr        [PC - 0x110 /* 00000164 */]
  297. 00000276  588F                     addq.l     A7, 4
  298. label00000278:
  299. 00000278  4E5E                     unlink     A6
  300. 0000027A  4E75                     rts
  301. 0000027C  8944 6F4B                pack       D4, D4, 0x6F4B
  302. 00000280  6579                     bcs        +0x7B /* 000002FB */
  303. 00000282  446F 776E                neg.w      [A7 + 0x776E]
  304. 00000286  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  305. export_15: // at 00000288 (misaligned)
  306. 0000028A  0000 4EBA                ori.b      D0, 0xBA
  307. 0000028E  FD84                     .extension 0xD84 // unimplemented
  308. 00000290  4EBA FDBA                jsr        [PC - 0x246 /* 0000004C */]
  309. 00000294  4A00                     tst.b      D0
  310. 00000296  6700 0088                beq        +0x8A /* 00000320 */
  311. 0000029A  4A2D FD66                tst.b      [A5 - 0x29A]
  312. 0000029E  6618                     bne        +0x1A /* 000002B8 */
  313. 000002A0  2F3C 0009 0000           move.l     -[A7], 0x90000 /* '\t\0\0' */
  314. 000002A6  486D FD88                pea.l      [A5 - 0x278]
  315. 000002AA  3F3C 0001                move.w     -[A7], 0x1
  316. 000002AE  4EBA 0CB4                jsr        [PC + 0xCB4 /* 00000F64 */]
  317. 000002B2  4FEF 000A                lea.l      A7, [A7 + 0xA]
  318. 000002B6  6064                     bra        +0x66 /* 0000031C */
  319. label000002B8:
  320. 000002B8  4EBA 00A2                jsr        [PC + 0xA2 /* 0000035C */]
  321. 000002BC  4EBA FDD2                jsr        [PC - 0x22E /* 00000090 */]
  322. 000002C0  4EBA FE2E                jsr        [PC - 0x1D2 /* 000000F0 */]
  323. 000002C4  6050                     bra        +0x52 /* 00000316 */
  324. label000002C6:
  325. 000002C6  4227                     clr.b      -[A7]
  326. 000002C8  3F3C FFFF                move.w     -[A7], 0xFFFF
  327. 000002CC  486D FD68                pea.l      [A5 - 0x298]
  328. 000002D0  42A7                     clr.l      -[A7]
  329. 000002D2  42A7                     clr.l      -[A7]
  330. 000002D4  A860                     syscall    WaitNextEvent
  331. 000002D6  1B5F FD67                move.b     [A5 - 0x299], [A7]+
  332. 000002DA  4A2D FD67                tst.b      [A5 - 0x299]
  333. 000002DE  6736                     beq        +0x38 /* 00000316 */
  334. 000002E0  302D FD68                move.w     D0, [A5 - 0x298]
  335. 000002E4  0C40 0017                cmpi.w     D0, 0x17
  336. 000002E8  622C                     bhi        +0x2E /* 00000316 */
  337. 000002EA  43FA 0040                lea.l      A1, [PC + 0x40 /* 0000032C, value 0xFFEAFFD4 */]
  338. 000002EE  D040                     add.w      D0, D0
  339. 000002F0  D2F1 0000                add.w      A1, [A1 + D0.w]
  340. 000002F4  4ED1                     jmp        [A1]
  341. 000002F6  486D FD68                pea.l      [A5 - 0x298]
  342. 000002FA  4EBA 03D8                jsr        [PC + 0x3D8 /* 000006D4 */]
  343. 000002FE  6016                     bra        +0x18 /* 00000316 */
  344. 00000300  486D FD68                pea.l      [A5 - 0x298]
  345. 00000304  4EBA FED8                jsr        [PC - 0x128 /* 000001DE */]
  346. 00000308  588F                     addq.l     A7, 4
  347. 0000030A  600A                     bra        +0xC /* 00000316 */
  348. 0000030C  486D FD68                pea.l      [A5 - 0x298]
  349. 00000310  4EBA FF3C                jsr        [PC - 0xC4 /* 0000024E */]
  350. 00000314  588F                     addq.l     A7, 4
  351. label00000316:
  352. 00000316  4A2D FD64                tst.b      [A5 - 0x29C]
  353. 0000031A  67AA                     beq        -0x54 /* 000002C6 */
  354. label0000031C:
  355. 0000031C  4EBA 0C28                jsr        [PC + 0xC28 /* 00000F46 */]
  356. label00000320:
  357. 00000320  4E5E                     unlink     A6
  358. 00000322  4E75                     rts
  359. 00000324  846D 6169                or.w       D2, [A5 + 0x6169]
  360. 00000328  6E00 0030                bgt        +0x32 /* 0000035A */
  361. 0000032C  FFEA                     .extension 0xFEA // unimplemented
  362. 0000032E  FFD4                     .extension 0xFD4 // unimplemented
  363. 00000330  FFEA                     .extension 0xFEA // unimplemented
  364. 00000332  FFE0                     .extension 0xFE0 // unimplemented
  365. 00000334  FFEA                     .extension 0xFEA // unimplemented
  366. 00000336  FFE0                     .extension 0xFE0 // unimplemented
  367. 00000338  FFEA                     .extension 0xFEA // unimplemented
  368. 0000033A  FFEA                     .extension 0xFEA // unimplemented
  369. 0000033C  FFEA                     .extension 0xFEA // unimplemented
  370. 0000033E  FFEA                     .extension 0xFEA // unimplemented
  371. 00000340  FFEA                     .extension 0xFEA // unimplemented
  372. 00000342  FFEA                     .extension 0xFEA // unimplemented
  373. 00000344  FFEA                     .extension 0xFEA // unimplemented
  374. 00000346  FFEA                     .extension 0xFEA // unimplemented
  375. 00000348  FFEA                     .extension 0xFEA // unimplemented
  376. 0000034A  FFEA                     .extension 0xFEA // unimplemented
  377. 0000034C  FFEA                     .extension 0xFEA // unimplemented
  378. 0000034E  FFEA                     .extension 0xFEA // unimplemented
  379. 00000350  FFEA                     .extension 0xFEA // unimplemented
  380. 00000352  FFEA                     .extension 0xFEA // unimplemented
  381. 00000354  FFEA                     .extension 0xFEA // unimplemented
  382. 00000356  FFEA                     .extension 0xFEA // unimplemented
  383. 00000358  FFEA                     .extension 0xFEA // unimplemented
  384. label0000035A:
  385. 0000035A  FFCA                     .extension 0xFCA // unimplemented
  386. fn0000035C:
  387. 0000035C  4E56 0000                link       A6, 0
  388. 00000360  2F07                     move.l     -[A7], D7
  389. 00000362  7E00                     moveq.l    D7, 0x00
  390. 00000364  4A47                     tst.w      D7
  391. 00000366  661E                     bne        +0x20 /* 00000386 */
  392. 00000368  4267                     clr.w      -[A7]
  393. 0000036A  2F3C 6165 7674           move.l     -[A7], 0x61657674 /* 'aevt' */
  394. 00000370  2F3C 6F61 7070           move.l     -[A7], 0x6F617070 /* 'oapp' */
  395. 00000376  486D 0072                pea.l      [A5 + 0x72 /* export_10 */]
  396. 0000037A  42A7                     clr.l      -[A7]
  397. 0000037C  4227                     clr.b      -[A7]
  398. 0000037E  303C 091F                move.w     D0, 0x91F
  399. 00000382  A816                     syscall    Pack8
  400. 00000384  3E1F                     move.w     D7, [A7]+
  401. label00000386:
  402. 00000386  4A47                     tst.w      D7
  403. 00000388  661E                     bne        +0x20 /* 000003A8 */
  404. 0000038A  4267                     clr.w      -[A7]
  405. 0000038C  2F3C 6165 7674           move.l     -[A7], 0x61657674 /* 'aevt' */
  406. 00000392  2F3C 6F64 6F63           move.l     -[A7], 0x6F646F63 /* 'odoc' */
  407. 00000398  486D 0082                pea.l      [A5 + 0x82 /* export_12 */]
  408. 0000039C  42A7                     clr.l      -[A7]
  409. 0000039E  4227                     clr.b      -[A7]
  410. 000003A0  303C 091F                move.w     D0, 0x91F
  411. 000003A4  A816                     syscall    Pack8
  412. 000003A6  3E1F                     move.w     D7, [A7]+
  413. label000003A8:
  414. 000003A8  4A47                     tst.w      D7
  415. 000003AA  661E                     bne        +0x20 /* 000003CA */
  416. 000003AC  4267                     clr.w      -[A7]
  417. 000003AE  2F3C 6165 7674           move.l     -[A7], 0x61657674 /* 'aevt' */
  418. 000003B4  2F3C 7064 6F63           move.l     -[A7], 0x70646F63 /* 'pdoc' */
  419. 000003BA  486D 008A                pea.l      [A5 + 0x8A /* export_13 */]
  420. 000003BE  42A7                     clr.l      -[A7]
  421. 000003C0  4227                     clr.b      -[A7]
  422. 000003C2  303C 091F                move.w     D0, 0x91F
  423. 000003C6  A816                     syscall    Pack8
  424. 000003C8  3E1F                     move.w     D7, [A7]+
  425. label000003CA:
  426. 000003CA  4A47                     tst.w      D7
  427. 000003CC  661E                     bne        +0x20 /* 000003EC */
  428. 000003CE  4267                     clr.w      -[A7]
  429. 000003D0  2F3C 6165 7674           move.l     -[A7], 0x61657674 /* 'aevt' */
  430. 000003D6  2F3C 7175 6974           move.l     -[A7], 0x71756974 /* 'quit' */
  431. 000003DC  486D 007A                pea.l      [A5 + 0x7A /* export_11 */]
  432. 000003E0  42A7                     clr.l      -[A7]
  433. 000003E2  4227                     clr.b      -[A7]
  434. 000003E4  303C 091F                move.w     D0, 0x91F
  435. 000003E8  A816                     syscall    Pack8
  436. 000003EA  3E1F                     move.w     D7, [A7]+
  437. label000003EC:
  438. 000003EC  4A47                     tst.w      D7
  439. 000003EE  6604                     bne        +0x6 /* 000003F4 */
  440. 000003F0  4EBA 0310                jsr        [PC + 0x310 /* 00000702 */]
  441. label000003F4:
  442. 000003F4  4A47                     tst.w      D7
  443. 000003F6  2E1F                     move.l     D7, [A7]+
  444. 000003F8  4E5E                     unlink     A6
  445. 000003FA  4E75                     rts
  446. 000003FC  8D49 6E69                pack       -[A6], -[A1], 0x6E69
  447. 00000400  7441                     moveq.l    D2, 0x41
  448. 00000402  4556                     chk.w      D2, [A6]
  449. 00000404  5453                     addq.w     [A3], 2
  450. 00000406  7475                     moveq.l    D2, 0x75
  451. 00000408  6666                     bne        +0x68 /* 00000470 */
  452. 0000040A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  453. // begin alternate branch 0000040C-00000410
  454. fn0000040C:
  455. 0000040C  4E56 FFF8                link       A6, -0x0008
  456. // end alternate branch 0000040C-00000410
  457. fn0000040C: // (misaligned)
  458. 0000040E  FFF8                     .extension 0xFF8 // unimplemented
  459. 00000410  48E7 0300                movem.l    -[A7], D6,D7
  460. 00000414  4267                     clr.w      -[A7]
  461. 00000416  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  462. 0000041A  2F3C 6D69 7373           move.l     -[A7], 0x6D697373 /* 'miss' */
  463. 00000420  2F3C 2A2A 2A2A           move.l     -[A7], 0x2A2A2A2A /* '****' */
  464. 00000426  486E FFFC                pea.l      [A6 - 0x4]
  465. 0000042A  42A7                     clr.l      -[A7]
  466. 0000042C  42A7                     clr.l      -[A7]
  467. 0000042E  486E FFF8                pea.l      [A6 - 0x8]
  468. 00000432  303C 0E15                move.w     D0, 0xE15
  469. 00000436  A816                     syscall    Pack8
  470. 00000438  3C1F                     move.w     D6, [A7]+
  471. 0000043A  0C46 F95B                cmpi.w     D6, 0xF95B
  472. 0000043E  6604                     bne        +0x6 /* 00000444 */
  473. 00000440  7E00                     moveq.l    D7, 0x00
  474. 00000442  600C                     bra        +0xE /* 00000450 */
  475. label00000444:
  476. 00000444  4A46                     tst.w      D6
  477. 00000446  6606                     bne        +0x8 /* 0000044E */
  478. 00000448  3E3C F954                move.w     D7, 0xF954
  479. 0000044C  6002                     bra        +0x4 /* 00000450 */
  480. label0000044E:
  481. 0000044E  3E06                     move.w     D7, D6
  482. label00000450:
  483. 00000450  3007                     move.w     D0, D7
  484. 00000452  4CDF 00C0                movem.l    D6,D7, [A7]+
  485. 00000456  4E5E                     unlink     A6
  486. 00000458  4E75                     rts
  487. 0000045A  9147                     subx.w     D0, D7
  488. 0000045C  6F74                     ble        +0x76 /* 000004D2 */
  489. 0000045E  5265                     addq.w     -[A5], 1
  490. 00000460  7175                     moveq.l    D0, 0x75
  491. 00000462  6972                     bvs        +0x74 /* 000004D6 */
  492. 00000464  6564                     bcs        +0x66 /* 000004CA */
  493. 00000466  5061                     addq.w     -[A1], 8
  494. 00000468  7261                     moveq.l    D1, 0x61
  495. 0000046A  6D73                     blt        +0x75 /* 000004DF */
  496. 0000046C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  497. // begin alternate branch 0000046E-00000478
  498. fn0000046E:
  499. 0000046E  4E56 0000                link       A6, 0
  500. label00000470: // (misaligned)
  501. 00000472  4A6E 0008                tst.w      [A6 + 0x8]
  502. 00000476  6716                     beq        +0x18 /* 0000048E */
  503. // end alternate branch 0000046E-00000478
  504. fn0000046E: // (misaligned)
  505. label00000470:
  506. 00000470  0000 4A6E                ori.b      D0, 0x6E /* 'n' */
  507. 00000474  0008 6716                ori.b      A0, 0x16
  508. 00000478  2F3C 0009 0000           move.l     -[A7], 0x90000 /* '\t\0\0' */
  509. 0000047E  486D FD8A                pea.l      [A5 - 0x276]
  510. 00000482  3F3C 0002                move.w     -[A7], 0x2
  511. 00000486  4EBA 0ADC                jsr        [PC + 0xADC /* 00000F64 */]
  512. 0000048A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  513. label0000048E:
  514. 0000048E  4E5E                     unlink     A6
  515. 00000490  4E75                     rts
  516. 00000492  8746 6169                pack       D3, D6, 0x6169
  517. 00000496  6C45                     bge        +0x47 /* 000004DD */
  518. 00000498  7272                     moveq.l    D1, 0x72
  519. 0000049A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  520. export_10: // at 0000049C (misaligned)
  521. 0000049E  0000 2F07                ori.b      D0, 0x7
  522. 000004A2  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  523. 000004A6  4EBA FF64                jsr        [PC - 0x9C /* 0000040C */]
  524. 000004AA  3E00                     move.w     D7, D0
  525. 000004AC  3E80                     move.w     [A7], D0
  526. 000004AE  4EBA FFBE                jsr        [PC - 0x42 /* 0000046E */]
  527. 000004B2  4EBA 026C                jsr        [PC + 0x26C /* 00000720 */]
  528. 000004B6  206E 000C                movea.l    A0, [A6 + 0xC]
  529. 000004BA  4AA8 0004                tst.l      [A0 + 0x4]
  530. 000004BE  588F                     addq.l     A7, 4
  531. 000004C0  672A                     beq        +0x2C /* 000004EC */
  532. 000004C2  4267                     clr.w      -[A7]
  533. 000004C4  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  534. 000004C8  2F3C 6572 7273           move.l     -[A7], 0x65727273 /* 'errs' */
  535. // begin alternate branch 000004CA-000004CE
  536. label000004CA:
  537. 000004CA  6572                     bcs        +0x74 /* 0000053E */
  538. 000004CC  7273                     moveq.l    D1, 0x73
  539. // end alternate branch 000004CA-000004CE
  540. label000004CA: // (misaligned)
  541. 000004CE  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  542. // begin alternate branch 000004D2-000004D4
  543. label000004D2:
  544. 000004D2  5854                     addq.w     [A4], 4
  545. // end alternate branch 000004D2-000004D4
  546. label000004D2: // (misaligned)
  547. 000004D4  486D FD8C                pea.l      [A5 - 0x274]
  548. // begin alternate branch 000004D6-000004D8
  549. label000004D6:
  550. 000004D6  FD8C                     .extension 0xD8C // unimplemented
  551. // end alternate branch 000004D6-000004D8
  552. label000004D6: // (misaligned)
  553. 000004D8  4878 0007                push.l     0x7
  554. 000004DC  303C 0A0F                move.w     D0, 0xA0F
  555. 000004E0  A816                     syscall    Pack8
  556. 000004E2  3E1F                     move.w     D7, [A7]+
  557. 000004E4  3F07                     move.w     -[A7], D7
  558. 000004E6  4EBA FF86                jsr        [PC - 0x7A /* 0000046E */]
  559. 000004EA  548F                     addq.l     A7, 2
  560. label000004EC:
  561. 000004EC  3D47 0014                move.w     [A6 + 0x14], D7
  562. 000004F0  2E1F                     move.l     D7, [A7]+
  563. 000004F2  4E5E                     unlink     A6
  564. 000004F4  205F                     movea.l    A0, [A7]+
  565. 000004F6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  566. 000004FA  4ED0                     jmp        [A0]
  567. 000004FC  8A48                     or.w       D5, A0
  568. 000004FE  616E                     bsr        +0x70 /* 0000056E */
  569. 00000500  646C                     bcc        +0x6E /* 0000056E */
  570. 00000502  654F                     bcs        +0x51 /* 00000553 */
  571. 00000504  4150                     chk.w      D0, [A0]
  572. 00000506  5000                     addq.b     D0, 8
  573. 00000508  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  574. export_11: // at 0000050A (misaligned)
  575. 0000050C  0000 2F07                ori.b      D0, 0x7
  576. 00000510  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  577. 00000514  4EBA FEF6                jsr        [PC - 0x10A /* 0000040C */]
  578. 00000518  3E00                     move.w     D7, D0
  579. 0000051A  3E80                     move.w     [A7], D0
  580. 0000051C  4EBA FF50                jsr        [PC - 0xB0 /* 0000046E */]
  581. 00000520  4EBA 021C                jsr        [PC + 0x21C /* 0000073E */]
  582. 00000524  206E 000C                movea.l    A0, [A6 + 0xC]
  583. 00000528  4AA8 0004                tst.l      [A0 + 0x4]
  584. 0000052C  588F                     addq.l     A7, 4
  585. 0000052E  672A                     beq        +0x2C /* 0000055A */
  586. 00000530  4267                     clr.w      -[A7]
  587. 00000532  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  588. 00000536  2F3C 6572 7273           move.l     -[A7], 0x65727273 /* 'errs' */
  589. 0000053C  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  590. // begin alternate branch 0000053E-00000542
  591. label0000053E:
  592. 0000053E  5445                     addq.w     D5, 2
  593. 00000540  5854                     addq.w     [A4], 4
  594. // end alternate branch 0000053E-00000542
  595. label0000053E: // (misaligned)
  596. 00000542  486D FD94                pea.l      [A5 - 0x26C]
  597. 00000546  4878 0007                push.l     0x7
  598. 0000054A  303C 0A0F                move.w     D0, 0xA0F
  599. 0000054E  A816                     syscall    Pack8
  600. 00000550  3E1F                     move.w     D7, [A7]+
  601. 00000552  3F07                     move.w     -[A7], D7
  602. 00000554  4EBA FF18                jsr        [PC - 0xE8 /* 0000046E */]
  603. 00000558  548F                     addq.l     A7, 2
  604. label0000055A:
  605. 0000055A  3D47 0014                move.w     [A6 + 0x14], D7
  606. 0000055E  2E1F                     move.l     D7, [A7]+
  607. 00000560  4E5E                     unlink     A6
  608. 00000562  205F                     movea.l    A0, [A7]+
  609. 00000564  4FEF 000C                lea.l      A7, [A7 + 0xC]
  610. 00000568  4ED0                     jmp        [A0]
  611. 0000056A  8A48                     or.w       D5, A0
  612. 0000056C  616E                     bsr        +0x70 /* 000005DC */
  613. fn0000056E:
  614. 0000056E  646C                     bcc        +0x6E /* 000005DC */
  615. 00000570  6551                     bcs        +0x53 /* 000005C3 */
  616. 00000572  7569                     moveq.l    D2, 0x69
  617. 00000574  7400                     moveq.l    D2, 0x00
  618. 00000576  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  619. // begin alternate branch 00000578-0000057C
  620. fn00000578:
  621. 00000578  4E56 FF9E                link       A6, -0x0062
  622. // end alternate branch 00000578-0000057C
  623. fn00000578: // (misaligned)
  624. 0000057A  FF9E                     .extension 0xF9E // unimplemented
  625. 0000057C  48E7 0700                movem.l    -[A7], D5,D6,D7
  626. 00000580  1E2E 0008                move.b     D7, [A6 + 0x8]
  627. 00000584  4267                     clr.w      -[A7]
  628. 00000586  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  629. 0000058A  2F3C 2D2D 2D2D           move.l     -[A7], 0x2D2D2D2D /* '----' */
  630. 00000590  2F3C 6C69 7374           move.l     -[A7], 0x6C697374 /* 'list' */
  631. 00000596  486E FFB2                pea.l      [A6 - 0x4E]
  632. 0000059A  303C 0812                move.w     D0, 0x812
  633. 0000059E  A816                     syscall    Pack8
  634. 000005A0  3C1F                     move.w     D6, [A7]+
  635. 000005A2  3F06                     move.w     -[A7], D6
  636. 000005A4  4EBA FEC8                jsr        [PC - 0x138 /* 0000046E */]
  637. 000005A8  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  638. 000005AC  4EBA FE5E                jsr        [PC - 0x1A2 /* 0000040C */]
  639. 000005B0  3C00                     move.w     D6, D0
  640. 000005B2  3E80                     move.w     [A7], D0
  641. 000005B4  4EBA FEB8                jsr        [PC - 0x148 /* 0000046E */]
  642. 000005B8  4217                     clr.b      [A7]
  643. 000005BA  1F07                     move.b     -[A7], D7
  644. 000005BC  486E FF9E                pea.l      [A6 - 0x62]
  645. 000005C0  4EBA 0194                jsr        [PC + 0x194 /* 00000756 */]
  646. 000005C4  4A1F                     tst.b      [A7]+
  647. 000005C6  588F                     addq.l     A7, 4
  648. 000005C8  6772                     beq        +0x74 /* 0000063C */
  649. 000005CA  4267                     clr.w      -[A7]
  650. 000005CC  486E FFB2                pea.l      [A6 - 0x4E]
  651. 000005D0  486E FFAE                pea.l      [A6 - 0x52]
  652. 000005D4  303C 0407                move.w     D0, 0x407
  653. 000005D8  A816                     syscall    Pack8
  654. 000005DA  3C1F                     move.w     D6, [A7]+
  655. fn000005DC:
  656. 000005DC  3F06                     move.w     -[A7], D6
  657. 000005DE  4EBA FE8E                jsr        [PC - 0x172 /* 0000046E */]
  658. 000005E2  7A01                     moveq.l    D5, 0x01
  659. 000005E4  548F                     addq.l     A7, 2
  660. 000005E6  6042                     bra        +0x44 /* 0000062A */
  661. label000005E8:
  662. 000005E8  4267                     clr.w      -[A7]
  663. 000005EA  486E FFB2                pea.l      [A6 - 0x4E]
  664. 000005EE  2F05                     move.l     -[A7], D5
  665. 000005F0  2F3C 6673 7320           move.l     -[A7], 0x66737320 /* 'fss ' */
  666. 000005F6  486E FFA6                pea.l      [A6 - 0x5A]
  667. 000005FA  486E FFA2                pea.l      [A6 - 0x5E]
  668. 000005FE  486E FFBA                pea.l      [A6 - 0x46]
  669. 00000602  4878 0046                push.l     0x46 /* 'F' */
  670. 00000606  486E FFAA                pea.l      [A6 - 0x56]
  671. 0000060A  303C 100A                move.w     D0, 0x100A
  672. 0000060E  A816                     syscall    Pack8
  673. 00000610  3C1F                     move.w     D6, [A7]+
  674. 00000612  3F06                     move.w     -[A7], D6
  675. 00000614  4EBA FE58                jsr        [PC - 0x1A8 /* 0000046E */]
  676. 00000618  486E FFBA                pea.l      [A6 - 0x46]
  677. 0000061C  1F07                     move.b     -[A7], D7
  678. 0000061E  2F2E FF9E                move.l     -[A7], [A6 - 0x62]
  679. 00000622  4EBA 01C2                jsr        [PC + 0x1C2 /* 000007E6 */]
  680. 00000626  548F                     addq.l     A7, 2
  681. 00000628  5285                     addq.l     D5, 1
  682. label0000062A:
  683. 0000062A  BAAE FFAE                cmp.l      D5, [A6 - 0x52]
  684. 0000062E  6FB8                     ble        -0x46 /* 000005E8 */
  685. 00000630  1F07                     move.b     -[A7], D7
  686. 00000632  2F2E FF9E                move.l     -[A7], [A6 - 0x62]
  687. 00000636  4EBA 0820                jsr        [PC + 0x820 /* 00000E58 */]
  688. 0000063A  6004                     bra        +0x6 /* 00000640 */
  689. label0000063C:
  690. 0000063C  3C3C F954                move.w     D6, 0xF954
  691. label00000640:
  692. 00000640  4267                     clr.w      -[A7]
  693. 00000642  486E FFB2                pea.l      [A6 - 0x4E]
  694. 00000646  303C 0204                move.w     D0, 0x204
  695. 0000064A  A816                     syscall    Pack8
  696. 0000064C  4EBA FE20                jsr        [PC - 0x1E0 /* 0000046E */]
  697. 00000650  3D46 0012                move.w     [A6 + 0x12], D6
  698. 00000654  4CEE 00E0 FF92           movem.l    D5,D6,D7, [A6 - 0x6E]
  699. 0000065A  4E5E                     unlink     A6
  700. 0000065C  205F                     movea.l    A0, [A7]+
  701. 0000065E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  702. 00000662  4ED0                     jmp        [A0]
  703. 00000664  8B5F                     or.w       [A7]+, D5
  704. 00000666  4861                     pea.l      -[A1]
  705. 00000668  6E64                     bgt        +0x66 /* 000006CE */
  706. 0000066A  6C65                     bge        +0x67 /* 000006D1 */
  707. 0000066C  446F 6373                neg.w      [A7 + 0x6373]
  708. 00000670  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  709. export_12: // at 00000672 (misaligned)
  710. 00000674  0000 4267                ori.b      D0, 0x67 /* 'g' */
  711. 00000678  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  712. 0000067C  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  713. 00000680  1F3C 0001                move.b     -[A7], 0x1
  714. 00000684  4EBA FEF2                jsr        [PC - 0x10E /* 00000578 */]
  715. 00000688  3D5F 0014                move.w     [A6 + 0x14], [A7]+
  716. 0000068C  4E5E                     unlink     A6
  717. 0000068E  205F                     movea.l    A0, [A7]+
  718. 00000690  4FEF 000C                lea.l      A7, [A7 + 0xC]
  719. 00000694  4ED0                     jmp        [A0]
  720. 00000696  8A48                     or.w       D5, A0
  721. 00000698  616E                     bsr        +0x70 /* 00000708 */
  722. 0000069A  646C                     bcc        +0x6E /* 00000708 */
  723. 0000069C  654F                     bcs        +0x51 /* 000006ED */
  724. 0000069E  444F                     neg.w      A7
  725. 000006A0  4300                     .invalid   1, D0 // invalid opcode 4 with b == 4
  726. 000006A2  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  727. export_13: // at 000006A4 (misaligned)
  728. 000006A6  0000 4267                ori.b      D0, 0x67 /* 'g' */
  729. 000006AA  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  730. 000006AE  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  731. 000006B2  4227                     clr.b      -[A7]
  732. 000006B4  4EBA FEC2                jsr        [PC - 0x13E /* 00000578 */]
  733. 000006B8  3D5F 0014                move.w     [A6 + 0x14], [A7]+
  734. 000006BC  4E5E                     unlink     A6
  735. 000006BE  205F                     movea.l    A0, [A7]+
  736. 000006C0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  737. 000006C4  4ED0                     jmp        [A0]
  738. 000006C6  8A48                     or.w       D5, A0
  739. 000006C8  616E                     bsr        +0x70 /* 00000738 */
  740. 000006CA  646C                     bcc        +0x6E /* 00000738 */
  741. 000006CC  6550                     bcs        +0x52 /* 0000071E */
  742. label000006CE:
  743. 000006CE  444F                     neg.w      A7
  744. 000006D0  4300                     .invalid   1, D0 // invalid opcode 4 with b == 4
  745. 000006D2  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  746. // begin alternate branch 000006D4-000006DA
  747. fn000006D4:
  748. 000006D4  4E56 0000                link       A6, 0
  749. 000006D8  4267                     clr.w      -[A7]
  750. // end alternate branch 000006D4-000006DA
  751. fn000006D4: // (misaligned)
  752. 000006D6  0000 4267                ori.b      D0, 0x67 /* 'g' */
  753. 000006DA  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  754. 000006DE  303C 021B                move.w     D0, 0x21B
  755. 000006E2  A816                     syscall    Pack8
  756. 000006E4  4EBA FD88                jsr        [PC - 0x278 /* 0000046E */]
  757. 000006E8  4E5E                     unlink     A6
  758. 000006EA  2E9F                     move.l     [A7], [A7]+
  759. 000006EC  4E75                     rts
  760. 000006EE  9044                     sub.w      D0, D4
  761. 000006F0  6F48                     ble        +0x4A /* 0000073A */
  762. 000006F2  6967                     bvs        +0x69 /* 0000075B */
  763. 000006F4  684C                     bvc        +0x4E /* 00000742 */
  764. 000006F6  6576                     bcs        +0x78 /* 0000076E */
  765. 000006F8  656C                     bcs        +0x6E /* 00000766 */
  766. 000006FA  4576 656E                chk.w      D2, <<invalid full ext with IS == 1 and I/IS == 6>>
  767. 000006FE  7400                     moveq.l    D2, 0x00
  768. 00000700  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  769. // begin alternate branch 00000702-00000708
  770. fn00000702:
  771. 00000702  4E56 0000                link       A6, 0
  772. 00000706  4E5E                     unlink     A6
  773. // end alternate branch 00000702-00000708
  774. fn00000702: // (misaligned)
  775. 00000704  0000 4E5E                ori.b      D0, 0x5E /* '^' */
  776. fn00000708:
  777. 00000708  4E75                     rts
  778. 0000070A  9249                     sub.w      D1, A1
  779. 0000070C  6E73                     bgt        +0x75 /* 00000781 */
  780. 0000070E  7461                     moveq.l    D2, 0x61
  781. 00000710  6C6C                     bge        +0x6E /* 0000077E */
  782. 00000712  4F74 6865                chk.w      D7, [A4 + D6 + 0x65]
  783. 00000716  7245                     moveq.l    D1, 0x45
  784. 00000718  7665                     moveq.l    D3, 0x65
  785. 0000071A  6E74                     bgt        +0x76 /* 00000790 */
  786. 0000071C  7300                     moveq.l    D1, 0x00
  787. label0000071E:
  788. 0000071E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  789. // begin alternate branch 00000720-0000072A
  790. fn00000720:
  791. 00000720  4E56 0000                link       A6, 0
  792. 00000724  1B7C 0001 FD65           move.b     [A5 - 0x29B], 0x1
  793. // end alternate branch 00000720-0000072A
  794. fn00000720: // (misaligned)
  795. 00000722  0000 1B7C                ori.b      D0, 0x7C /* '|' */
  796. 00000726  0001 FD65                ori.b      D1, 0x65 /* 'e' */
  797. 0000072A  2F2D FD80                move.l     -[A7], [A5 - 0x280]
  798. 0000072E  A915                     syscall    ShowWindow
  799. 00000730  4E5E                     unlink     A6
  800. 00000732  4E75                     rts
  801. 00000734  874F 7065                pack       -[A3], -[A7], 0x7065
  802. fn00000738:
  803. 00000738  6E41                     bgt        +0x43 /* 0000077B */
  804. label0000073A:
  805. 0000073A  7070                     moveq.l    D0, 0x70
  806. 0000073C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  807. // begin alternate branch 0000073E-00000748
  808. fn0000073E:
  809. 0000073E  4E56 0000                link       A6, 0
  810. label00000742:
  811. 00000742  1B7C 0001 FD64           move.b     [A5 - 0x29C], 0x1
  812. // end alternate branch 0000073E-00000748
  813. fn0000073E: // (misaligned)
  814. 00000740  0000 1B7C                ori.b      D0, 0x7C /* '|' */
  815. label00000742: // (misaligned)
  816. 00000744  0001 FD64                ori.b      D1, 0x64 /* 'd' */
  817. 00000748  4E5E                     unlink     A6
  818. 0000074A  4E75                     rts
  819. 0000074C  8751                     or.w       [A1], D3
  820. 0000074E  7569                     moveq.l    D2, 0x69
  821. 00000750  7441                     moveq.l    D2, 0x41
  822. 00000752  7070                     moveq.l    D0, 0x70
  823. 00000754  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  824. // begin alternate branch 00000756-0000075A
  825. fn00000756:
  826. 00000756  4E56 FFF8                link       A6, -0x0008
  827. // end alternate branch 00000756-0000075A
  828. fn00000756: // (misaligned)
  829. 00000758  FFF8                     .extension 0xFF8 // unimplemented
  830. 0000075A  3F2D FEFE                move.w     -[A7], [A5 - 0x102]
  831. 0000075E  A998                     syscall    UseResFile
  832. 00000760  42A7                     clr.l      -[A7]
  833. 00000762  3F3C 0004                move.w     -[A7], 0x4
  834. label00000766:
  835. 00000766  A9B9                     syscall    GetCursor
  836. 00000768  205F                     movea.l    A0, [A7]+
  837. 0000076A  2F10                     move.l     -[A7], [A0]
  838. 0000076C  A851                     syscall    SetCursor
  839. label0000076E:
  840. 0000076E  4A2D FD65                tst.b      [A5 - 0x29B]
  841. 00000772  6706                     beq        +0x8 /* 0000077A */
  842. 00000774  2F2D FD80                move.l     -[A7], [A5 - 0x280]
  843. 00000778  A916                     syscall    HideWindow
  844. label0000077A:
  845. 0000077A  422D FEFC                clr.b      [A5 - 0x104]
  846. label0000077E:
  847. 0000077E  42A7                     clr.l      -[A7]
  848. 00000780  3F3C 0083                move.w     -[A7], 0x83
  849. 00000784  42A7                     clr.l      -[A7]
  850. 00000786  4878 FFFF                push.l     0xFFFF
  851. 0000078A  A97C                     syscall    GetNewDialog
  852. 0000078C  2B5F FF02                move.l     [A5 - 0xFE], [A7]+
  853. label00000790:
  854. 00000790  4AAD FF02                tst.l      [A5 - 0xFE]
  855. 00000794  6602                     bne        +0x4 /* 00000798 */
  856. 00000796  A9F4                     syscall    ExitToShell
  857. label00000798:
  858. 00000798  486D FF0E                pea.l      [A5 - 0xF2]
  859. 0000079C  A874                     syscall    GetPort
  860. 0000079E  2F2D FF02                move.l     -[A7], [A5 - 0xFE]
  861. 000007A2  A873                     syscall    SetPort
  862. 000007A4  3F3C 0001                move.w     -[A7], 0x1
  863. 000007A8  2F2D FF02                move.l     -[A7], [A5 - 0xFE]
  864. 000007AC  486E FFF8                pea.l      [A6 - 0x8]
  865. 000007B0  4EBA 0CCC                jsr        [PC + 0xCCC /* 0000147E */]
  866. 000007B4  2B6E FFF8 FF06           move.l     [A5 - 0xFA], [A6 - 0x8]
  867. 000007BA  2B6E FFFC FF0A           move.l     [A5 - 0xF6], [A6 - 0x4]
  868. 000007C0  4EBA 0D22                jsr        [PC + 0xD22 /* 000014E4 */]
  869. 000007C4  3B40 FF00                move.w     [A5 - 0x100], D0
  870. 000007C8  1D6E 000C 000E           move.b     [A6 + 0xE], [A6 + 0xC]
  871. 000007CE  4E5E                     unlink     A6
  872. 000007D0  205F                     movea.l    A0, [A7]+
  873. 000007D2  5C8F                     addq.l     A7, 6
  874. 000007D4  4ED0                     jmp        [A0]
  875. 000007D6  8D50                     or.w       [A0], D6
  876. 000007D8  7265                     moveq.l    D1, 0x65
  877. 000007DA  466C 6967                not.w      [A4 + 0x6967]
  878. 000007DE  6874                     bvc        +0x76 /* 00000854 */
  879. 000007E0  446F 6373                neg.w      [A7 + 0x6373]
  880. 000007E4  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  881. // begin alternate branch 000007E6-000007EA
  882. fn000007E6:
  883. 000007E6  4E56 FF00                link       A6, -0x0100
  884. // end alternate branch 000007E6-000007EA
  885. fn000007E6: // (misaligned)
  886. 000007E8  FF00                     .extension 0xF00 // unimplemented
  887. 000007EA  41EE FF00                lea.l      A0, [A6 - 0x100]
  888. 000007EE  43ED FD9C                lea.l      A1, [A5 - 0x264]
  889. 000007F2  703F                     moveq.l    D0, 0x3F
  890. label000007F4:
  891. 000007F4  20D9                     move.l     [A0]+, [A1]+
  892. 000007F6  51C8 FFFC                dbf        D0, -0x6 /* 000007F4 */
  893. 000007FA  3F2D FEFE                move.w     -[A7], [A5 - 0x102]
  894. 000007FE  A998                     syscall    UseResFile
  895. 00000800  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  896. 00000804  2F3C 736E 6420           move.l     -[A7], 0x736E6420 /* 'snd ' */
  897. 0000080A  2F3C 7366 696C           move.l     -[A7], 0x7366696C /* 'sfil' */
  898. 00000810  486E FF00                pea.l      [A6 - 0x100]
  899. 00000814  4EBA 001C                jsr        [PC + 0x1C /* 00000832 */]
  900. 00000818  3F2D FEFE                move.w     -[A7], [A5 - 0x102]
  901. 0000081C  A998                     syscall    UseResFile
  902. 0000081E  4E5E                     unlink     A6
  903. 00000820  205F                     movea.l    A0, [A7]+
  904. 00000822  4FEF 000A                lea.l      A7, [A7 + 0xA]
  905. 00000826  4ED0                     jmp        [A0]
  906. 00000828  874F 7065                pack       -[A3], -[A7], 0x7065
  907. 0000082C  6E44                     bgt        +0x46 /* 00000872 */
  908. 0000082E  6F63                     ble        +0x65 /* 00000893 */
  909. 00000830  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  910. // begin alternate branch 00000832-00000836
  911. fn00000832:
  912. 00000832  4E56 FE16                link       A6, -0x01EA
  913. // end alternate branch 00000832-00000836
  914. fn00000832: // (misaligned)
  915. 00000834  FE16                     .extension 0xE16 // unimplemented
  916. 00000836  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  917. 0000083A  286E 0014                movea.l    A4, [A6 + 0x14]
  918. 0000083E  41EE FE18                lea.l      A0, [A6 - 0x1E8]
  919. 00000842  43ED FE9C                lea.l      A1, [A5 - 0x164]
  920. 00000846  20D9                     move.l     [A0]+, [A1]+
  921. 00000848  20D9                     move.l     [A0]+, [A1]+
  922. 0000084A  20D9                     move.l     [A0]+, [A1]+
  923. 0000084C  20D9                     move.l     [A0]+, [A1]+
  924. 0000084E  7A03                     moveq.l    D5, 0x03
  925. 00000850  4227                     clr.b      -[A7]
  926. 00000852  2F0C                     move.l     -[A7], A4
  927. label00000854:
  928. 00000854  486E FFFE                pea.l      [A6 - 0x2]
  929. 00000858  3F3C 0001                move.w     -[A7], 0x1
  930. 0000085C  4EBA 0224                jsr        [PC + 0x224 /* 00000A82 */]
  931. 00000860  4A1F                     tst.b      [A7]+
  932. 00000862  6700 01FC                beq        +0x1FE /* 00000A60 */
  933. 00000866  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  934. 0000086A  A998                     syscall    UseResFile
  935. 0000086C  4267                     clr.w      -[A7]
  936. 0000086E  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  937. label00000872:
  938. 00000872  A80D                     syscall    Count1Resources
  939. 00000874  3E1F                     move.w     D7, [A7]+
  940. 00000876  0C47 0001                cmpi.w     D7, 0x1
  941. 0000087A  6C0A                     bge        +0xC /* 00000886 */
  942. 0000087C  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  943. 00000880  A99A                     syscall    CloseResFile
  944. 00000882  6000 01DC                bra        +0x1DE /* 00000A60 */
  945. label00000886:
  946. 00000886  0C47 0001                cmpi.w     D7, 0x1
  947. 0000088A  6F22                     ble        +0x24 /* 000008AE */
  948. 0000088C  4227                     clr.b      -[A7]
  949. 0000088E  2F0C                     move.l     -[A7], A4
  950. 00000890  486E FFB8                pea.l      [A6 - 0x48]
  951. 00000894  486E FFB4                pea.l      [A6 - 0x4C]
  952. 00000898  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  953. 0000089C  4EBA 022A                jsr        [PC + 0x22A /* 00000AC8 */]
  954. 000008A0  4A1F                     tst.b      [A7]+
  955. 000008A2  6610                     bne        +0x12 /* 000008B4 */
  956. 000008A4  1B7C 0001 FEFC           move.b     [A5 - 0x104], 0x1
  957. 000008AA  6000 01B4                bra        +0x1B6 /* 00000A60 */
  958. label000008AE:
  959. 000008AE  2D6C 0002 FFB4           move.l     [A6 - 0x4C], [A4 + 0x2]
  960. label000008B4:
  961. 000008B4  486C 0006                pea.l      [A4 + 0x6]
  962. 000008B8  486D FF12                pea.l      [A5 - 0xEE]
  963. 000008BC  486D FF14                pea.l      [A5 - 0xEC]
  964. 000008C0  486D FF16                pea.l      [A5 - 0xEA]
  965. 000008C4  A98B                     syscall    ParamText
  966. 000008C6  2F2D FF02                move.l     -[A7], [A5 - 0xFE]
  967. 000008CA  A915                     syscall    ShowWindow
  968. 000008CC  2F2D FF02                move.l     -[A7], [A5 - 0xFE]
  969. 000008D0  A981                     syscall    DrawDialog
  970. 000008D2  0C6D 0008 FF00           cmpi.w     [A5 - 0x100], 0x8
  971. 000008D8  5CC0                     sge        D0
  972. 000008DA  4400                     neg.b      D0
  973. 000008DC  1F00                     move.b     -[A7], D0
  974. 000008DE  4267                     clr.w      -[A7]
  975. 000008E0  486D FF06                pea.l      [A5 - 0xFA]
  976. 000008E4  4EBA 0A60                jsr        [PC + 0xA60 /* 00001346 */]
  977. 000008E8  7C01                     moveq.l    D6, 0x01
  978. 000008EA  508F                     addq.l     A7, 8
  979. 000008EC  6000 015A                bra        +0x15C /* 00000A48 */
  980. label000008F0:
  981. 000008F0  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  982. 000008F4  A998                     syscall    UseResFile
  983. 000008F6  42A7                     clr.l      -[A7]
  984. 000008F8  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  985. 000008FC  3F06                     move.w     -[A7], D6
  986. 000008FE  A80E                     syscall    Get1IndResource/Get1IxResource
  987. 00000900  265F                     movea.l    A3, [A7]+
  988. 00000902  2F0B                     move.l     -[A7], A3
  989. 00000904  486E FFB2                pea.l      [A6 - 0x4E]
  990. 00000908  486E FF6E                pea.l      [A6 - 0x92]
  991. 0000090C  486E FE6E                pea.l      [A6 - 0x192]
  992. 00000910  A9A8                     syscall    GetResInfo
  993. 00000912  306E FFB2                movea.w    A0, [A6 - 0x4E]
  994. 00000916  2F08                     move.l     -[A7], A0
  995. 00000918  486E FF72                pea.l      [A6 - 0x8E]
  996. 0000091C  4EBA 0FAC                jsr        [PC + 0xFAC /* 000018CA */]
  997. 00000920  4267                     clr.w      -[A7]
  998. 00000922  3F14                     move.w     -[A7], [A4]
  999. 00000924  2F2E FFB4                move.l     -[A7], [A6 - 0x4C]
  1000. 00000928  486E FE6E                pea.l      [A6 - 0x192]
  1001. 0000092C  486E FE28                pea.l      [A6 - 0x1D8]
  1002. 00000930  303C 0001                move.w     D0, 0x1
  1003. 00000934  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1004. 00000936  0C5F FFD5                cmpi.w     [A7]+, 0xFFD5
  1005. 0000093A  6700 0084                beq        +0x86 /* 000009C0 */
  1006. 0000093E  41EE FF73                lea.l      A0, [A6 - 0x8D]
  1007. 00000942  7000                     moveq.l    D0, 0x00
  1008. 00000944  102E FE6E                move.b     D0, [A6 - 0x192]
  1009. 00000948  43EE FE6F                lea.l      A1, [A6 - 0x191]
  1010. 0000094C  D089                     add.l      D0, A1
  1011. 0000094E  2240                     movea.l    A1, D0
  1012. 00000950  7000                     moveq.l    D0, 0x00
  1013. 00000952  102E FF72                move.b     D0, [A6 - 0x8E]
  1014. 00000956  A02E                     syscall    BlockMove/BlockMoveData
  1015. 00000958  102E FF72                move.b     D0, [A6 - 0x8E]
  1016. 0000095C  D12E FE6E                add.b      [A6 - 0x192], D0
  1017. 00000960  0C2E 001F FE6E           cmpi.b     [A6 - 0x192], 0x1F
  1018. 00000966  6326                     bls        +0x28 /* 0000098E */
  1019. 00000968  41EE FE18                lea.l      A0, [A6 - 0x1E8]
  1020. 0000096C  1005                     move.b     D0, D5
  1021. 0000096E  4880                     ext.w      D0
  1022. 00000970  3240                     movea.w    A1, D0
  1023. 00000972  200E                     move.l     D0, A6
  1024. 00000974  0680 FFFF FE8D           addi.l     D0, 0xFFFFFE8D
  1025. 0000097A  9089                     sub.l      D0, A1
  1026. 0000097C  5280                     addq.l     D0, 1
  1027. 0000097E  2240                     movea.l    A1, D0
  1028. 00000980  1005                     move.b     D0, D5
  1029. 00000982  4880                     ext.w      D0
  1030. 00000984  48C0                     ext.l      D0
  1031. 00000986  A02E                     syscall    BlockMove/BlockMoveData
  1032. 00000988  1D7C 001F FE6E           move.b     [A6 - 0x192], 0x1F
  1033. label0000098E:
  1034. 0000098E  4267                     clr.w      -[A7]
  1035. 00000990  3F14                     move.w     -[A7], [A4]
  1036. 00000992  2F2E FFB4                move.l     -[A7], [A6 - 0x4C]
  1037. 00000996  486E FE6E                pea.l      [A6 - 0x192]
  1038. 0000099A  486E FE28                pea.l      [A6 - 0x1D8]
  1039. 0000099E  303C 0001                move.w     D0, 0x1
  1040. 000009A2  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1041. 000009A4  0C5F FFD5                cmpi.w     [A7]+, 0xFFD5
  1042. 000009A8  6716                     beq        +0x18 /* 000009C0 */
  1043. 000009AA  2F3C 0008 0100           move.l     -[A7], 0x80100
  1044. 000009B0  486E FE6E                pea.l      [A6 - 0x192]
  1045. 000009B4  3F3C 0006                move.w     -[A7], 0x6
  1046. 000009B8  4EBA 05AA                jsr        [PC + 0x5AA /* 00000F64 */]
  1047. 000009BC  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1048. label000009C0:
  1049. 000009C0  486E FE28                pea.l      [A6 - 0x1D8]
  1050. 000009C4  2F3C 534E 2A64           move.l     -[A7], 0x534E2A64 /* 'SN*d' */
  1051. 000009CA  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  1052. 000009CE  3F3C FFFF                move.w     -[A7], 0xFFFF
  1053. 000009D2  303C 000E                move.w     D0, 0xE
  1054. 000009D6  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1055. 000009D8  4227                     clr.b      -[A7]
  1056. 000009DA  486E FE28                pea.l      [A6 - 0x1D8]
  1057. 000009DE  486E FE16                pea.l      [A6 - 0x1EA]
  1058. 000009E2  3F3C 0002                move.w     -[A7], 0x2
  1059. 000009E6  4EBA 009A                jsr        [PC + 0x9A /* 00000A82 */]
  1060. 000009EA  2F0B                     move.l     -[A7], A3
  1061. 000009EC  A992                     syscall    DetachResource
  1062. 000009EE  3EAE FE16                move.w     [A7], [A6 - 0x1EA]
  1063. 000009F2  A998                     syscall    UseResFile
  1064. 000009F4  2F0B                     move.l     -[A7], A3
  1065. 000009F6  2F2E FF6E                move.l     -[A7], [A6 - 0x92]
  1066. 000009FA  3F2E FFB2                move.w     -[A7], [A6 - 0x4E]
  1067. 000009FE  486E FE6E                pea.l      [A6 - 0x192]
  1068. 00000A02  A9AB                     syscall    AddResource
  1069. 00000A04  2F0B                     move.l     -[A7], A3
  1070. 00000A06  A9A3                     syscall    ReleaseResource
  1071. 00000A08  3F2E FE16                move.w     -[A7], [A6 - 0x1EA]
  1072. 00000A0C  A99A                     syscall    CloseResFile
  1073. 00000A0E  486C 0006                pea.l      [A4 + 0x6]
  1074. 00000A12  486E FE6E                pea.l      [A6 - 0x192]
  1075. 00000A16  486E FF72                pea.l      [A6 - 0x8E]
  1076. 00000A1A  486D FF18                pea.l      [A5 - 0xE8]
  1077. 00000A1E  A98B                     syscall    ParamText
  1078. 00000A20  2F2D FF02                move.l     -[A7], [A5 - 0xFE]
  1079. 00000A24  A981                     syscall    DrawDialog
  1080. 00000A26  0C6D 0008 FF00           cmpi.w     [A5 - 0x100], 0x8
  1081. 00000A2C  5CC0                     sge        D0
  1082. 00000A2E  4400                     neg.b      D0
  1083. 00000A30  1F00                     move.b     -[A7], D0
  1084. 00000A32  7064                     moveq.l    D0, 0x64
  1085. 00000A34  C1C6                     muls.w     D0, D6
  1086. 00000A36  48C0                     ext.l      D0
  1087. 00000A38  81C7                     divs.w     D0, D7
  1088. 00000A3A  3F00                     move.w     -[A7], D0
  1089. 00000A3C  486D FF06                pea.l      [A5 - 0xFA]
  1090. 00000A40  4EBA 0904                jsr        [PC + 0x904 /* 00001346 */]
  1091. 00000A44  508F                     addq.l     A7, 8
  1092. 00000A46  5246                     addq.w     D6, 1
  1093. label00000A48:
  1094. 00000A48  BE46                     cmp.w      D7, D6
  1095. 00000A4A  6C00 FEA4                bge        -0x15A /* 000008F0 */
  1096. 00000A4E  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  1097. 00000A52  A99A                     syscall    CloseResFile
  1098. 00000A54  3F2D FEFE                move.w     -[A7], [A5 - 0x102]
  1099. 00000A58  A998                     syscall    UseResFile
  1100. 00000A5A  1B7C 0001 FEFC           move.b     [A5 - 0x104], 0x1
  1101. label00000A60:
  1102. 00000A60  4CDF 18E0                movem.l    D5,D6,D7,A3,A4, [A7]+
  1103. 00000A64  4E5E                     unlink     A6
  1104. 00000A66  205F                     movea.l    A0, [A7]+
  1105. 00000A68  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1106. 00000A6C  4ED0                     jmp        [A0]
  1107. 00000A6E  9045                     sub.w      D0, D5
  1108. 00000A70  7874                     moveq.l    D4, 0x74
  1109. 00000A72  7261                     moveq.l    D1, 0x61
  1110. 00000A74  6374                     bls        +0x76 /* 00000AEA */
  1111. 00000A76  5265                     addq.w     -[A5], 1
  1112. 00000A78  736F                     moveq.l    D1, 0x6F
  1113. 00000A7A  7572                     moveq.l    D2, 0x72
  1114. 00000A7C  6365                     bls        +0x67 /* 00000AE3 */
  1115. 00000A7E  7300                     moveq.l    D1, 0x00
  1116. 00000A80  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1117. // begin alternate branch 00000A82-00000A88
  1118. fn00000A82:
  1119. 00000A82  4E56 0000                link       A6, 0
  1120. 00000A86  4267                     clr.w      -[A7]
  1121. // end alternate branch 00000A82-00000A88
  1122. fn00000A82: // (misaligned)
  1123. 00000A84  0000 4267                ori.b      D0, 0x67 /* 'g' */
  1124. 00000A88  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  1125. 00000A8C  1F2E 0009                move.b     -[A7], [A6 + 0x9]
  1126. 00000A90  303C 000D                move.w     D0, 0xD /* '\r' */
  1127. 00000A94  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1128. 00000A96  206E 000A                movea.l    A0, [A6 + 0xA]
  1129. 00000A9A  301F                     move.w     D0, [A7]+
  1130. 00000A9C  3080                     move.w     [A0], D0
  1131. 00000A9E  5240                     addq.w     D0, 1
  1132. 00000AA0  6606                     bne        +0x8 /* 00000AA8 */
  1133. 00000AA2  422E 0012                clr.b      [A6 + 0x12]
  1134. 00000AA6  6006                     bra        +0x8 /* 00000AAE */
  1135. label00000AA8:
  1136. 00000AA8  1D7C 0001 0012           move.b     [A6 + 0x12], 0x1
  1137. label00000AAE:
  1138. 00000AAE  4E5E                     unlink     A6
  1139. 00000AB0  205F                     movea.l    A0, [A7]+
  1140. 00000AB2  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1141. 00000AB6  4ED0                     jmp        [A0]
  1142. 00000AB8  8D4F 7065                pack       -[A6], -[A7], 0x7065
  1143. 00000ABC  6E4D                     bgt        +0x4F /* 00000B0B */
  1144. 00000ABE  7952                     moveq.l    D4, 0x52
  1145. 00000AC0  6573                     bcs        +0x75 /* 00000B35 */
  1146. 00000AC2  4669 6C65                not.w      [A1 + 0x6C65]
  1147. 00000AC6  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1148. // begin alternate branch 00000AC8-00000ACC
  1149. fn00000AC8:
  1150. 00000AC8  4E56 FDE4                link       A6, -0x021C
  1151. // end alternate branch 00000AC8-00000ACC
  1152. fn00000AC8: // (misaligned)
  1153. 00000ACA  FDE4                     .extension 0xDE4 // unimplemented
  1154. 00000ACC  48E7 0338                movem.l    -[A7], D6,D7,A2,A3,A4
  1155. 00000AD0  286E 0014                movea.l    A4, [A6 + 0x14]
  1156. 00000AD4  266E 0008                movea.l    A3, [A6 + 0x8]
  1157. 00000AD8  41EE FFF0                lea.l      A0, [A6 - 0x10]
  1158. 00000ADC  43ED FEAC                lea.l      A1, [A5 - 0x154]
  1159. 00000AE0  20D9                     move.l     [A0]+, [A1]+
  1160. 00000AE2  20D9                     move.l     [A0]+, [A1]+
  1161. 00000AE4  20D9                     move.l     [A0]+, [A1]+
  1162. 00000AE6  20D9                     move.l     [A0]+, [A1]+
  1163. 00000AE8  7C03                     moveq.l    D6, 0x03
  1164. label00000AEA:
  1165. 00000AEA  45EE FF24                lea.l      A2, [A6 - 0xDC]
  1166. 00000AEE  41EE FDE4                lea.l      A0, [A6 - 0x21C]
  1167. 00000AF2  43ED FEBC                lea.l      A1, [A5 - 0x144]
  1168. 00000AF6  700F                     moveq.l    D0, 0x0F
  1169. label00000AF8:
  1170. 00000AF8  20D9                     move.l     [A0]+, [A1]+
  1171. 00000AFA  51C8 FFFC                dbf        D0, -0x6 /* 00000AF8 */
  1172. 00000AFE  1D7C 000D FDE9           move.b     [A6 - 0x217], 0xD /* '\r' */
  1173. 00000B04  1D7C 0005 FDE4           move.b     [A6 - 0x21C], 0x5
  1174. 00000B0A  41EC 0007                lea.l      A0, [A4 + 0x7]
  1175. 00000B0E  7000                     moveq.l    D0, 0x00
  1176. 00000B10  1013                     move.b     D0, [A3]
  1177. 00000B12  43F3 0801                lea.l      A1, [A3 + D0 + 0x1]
  1178. 00000B16  7000                     moveq.l    D0, 0x00
  1179. 00000B18  102C 0006                move.b     D0, [A4 + 0x6]
  1180. 00000B1C  A02E                     syscall    BlockMove/BlockMoveData
  1181. 00000B1E  102C 0006                move.b     D0, [A4 + 0x6]
  1182. 00000B22  D113                     add.b      [A3], D0
  1183. 00000B24  0C13 001F                cmpi.b     [A3], 0x1F
  1184. 00000B28  6320                     bls        +0x22 /* 00000B4A */
  1185. 00000B2A  41EE FFF0                lea.l      A0, [A6 - 0x10]
  1186. 00000B2E  1006                     move.b     D0, D6
  1187. 00000B30  4880                     ext.w      D0
  1188. 00000B32  3240                     movea.w    A1, D0
  1189. 00000B34  701F                     moveq.l    D0, 0x1F
  1190. 00000B36  D08B                     add.l      D0, A3
  1191. 00000B38  9089                     sub.l      D0, A1
  1192. 00000B3A  5280                     addq.l     D0, 1
  1193. 00000B3C  2240                     movea.l    A1, D0
  1194. 00000B3E  1006                     move.b     D0, D6
  1195. 00000B40  4880                     ext.w      D0
  1196. 00000B42  48C0                     ext.l      D0
  1197. 00000B44  A02E                     syscall    BlockMove/BlockMoveData
  1198. 00000B46  16BC 001F                move.b     [A3], 0x1F
  1199. label00000B4A:
  1200. 00000B4A  4267                     clr.w      -[A7]
  1201. 00000B4C  3F14                     move.w     -[A7], [A4]
  1202. 00000B4E  2F2C 0002                move.l     -[A7], [A4 + 0x2]
  1203. 00000B52  2F0B                     move.l     -[A7], A3
  1204. 00000B54  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  1205. 00000B58  303C 0001                move.w     D0, 0x1
  1206. 00000B5C  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1207. 00000B5E  3E1F                     move.w     D7, [A7]+
  1208. 00000B60  6618                     bne        +0x1A /* 00000B7A */
  1209. 00000B62  2F3C 0005 0000           move.l     -[A7], 0x50000
  1210. 00000B68  2F0B                     move.l     -[A7], A3
  1211. 00000B6A  3F3C 0004                move.w     -[A7], 0x4
  1212. 00000B6E  4EBA 03F4                jsr        [PC + 0x3F4 /* 00000F64 */]
  1213. 00000B72  422E 0018                clr.b      [A6 + 0x18]
  1214. 00000B76  6000 02BC                bra        +0x2BE /* 00000E34 */
  1215. label00000B7A:
  1216. 00000B7A  0C47 FFD5                cmpi.w     D7, 0xFFD5
  1217. 00000B7E  6718                     beq        +0x1A /* 00000B98 */
  1218. 00000B80  2F3C 0008 0000           move.l     -[A7], 0x80000
  1219. 00000B86  2F0B                     move.l     -[A7], A3
  1220. 00000B88  3F3C 0007                move.w     -[A7], 0x7
  1221. 00000B8C  4EBA 03D6                jsr        [PC + 0x3D6 /* 00000F64 */]
  1222. 00000B90  422E 0018                clr.b      [A6 + 0x18]
  1223. 00000B94  6000 029E                bra        +0x2A0 /* 00000E34 */
  1224. label00000B98:
  1225. 00000B98  4267                     clr.w      -[A7]
  1226. 00000B9A  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  1227. 00000B9E  3F3C FFFF                move.w     -[A7], 0xFFFF
  1228. 00000BA2  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  1229. 00000BA6  303C 0005                move.w     D0, 0x5
  1230. 00000BAA  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1231. 00000BAC  4A5F                     tst.w      [A7]+
  1232. 00000BAE  6718                     beq        +0x1A /* 00000BC8 */
  1233. 00000BB0  2F3C 0008 0000           move.l     -[A7], 0x80000
  1234. 00000BB6  2F0B                     move.l     -[A7], A3
  1235. 00000BB8  3F3C 0007                move.w     -[A7], 0x7
  1236. 00000BBC  4EBA 03A6                jsr        [PC + 0x3A6 /* 00000F64 */]
  1237. 00000BC0  422E 0018                clr.b      [A6 + 0x18]
  1238. 00000BC4  6000 026E                bra        +0x270 /* 00000E34 */
  1239. label00000BC8:
  1240. 00000BC8  254B 0012                move.l     [A2 + 0x12], A3
  1241. 00000BCC  3554 0016                move.w     [A2 + 0x16], [A4]
  1242. 00000BD0  426A 001C                clr.w      [A2 + 0x1C]
  1243. 00000BD4  256C 0002 0030           move.l     [A2 + 0x30], [A4 + 0x2]
  1244. 00000BDA  4267                     clr.w      -[A7]
  1245. 00000BDC  486E FF24                pea.l      [A6 - 0xDC]
  1246. 00000BE0  4227                     clr.b      -[A7]
  1247. 00000BE2  4EBA 0CBA                jsr        [PC + 0xCBA /* 0000189E */]
  1248. 00000BE6  4A5F                     tst.w      [A7]+
  1249. 00000BE8  661A                     bne        +0x1C /* 00000C04 */
  1250. 00000BEA  256C 0002 0030           move.l     [A2 + 0x30], [A4 + 0x2]
  1251. 00000BF0  006A 0400 0028           ori.w      [A2 + 0x28], 0x400
  1252. 00000BF6  4267                     clr.w      -[A7]
  1253. 00000BF8  486E FF24                pea.l      [A6 - 0xDC]
  1254. 00000BFC  4227                     clr.b      -[A7]
  1255. 00000BFE  4EBA 0CB4                jsr        [PC + 0xCB4 /* 000018B4 */]
  1256. 00000C02  548F                     addq.l     A7, 2
  1257. label00000C04:
  1258. 00000C04  3F2D FEFE                move.w     -[A7], [A5 - 0x102]
  1259. 00000C08  A998                     syscall    UseResFile
  1260. 00000C0A  4267                     clr.w      -[A7]
  1261. 00000C0C  486E FFEC                pea.l      [A6 - 0x14]
  1262. 00000C10  3F3C 00C8                move.w     -[A7], 0xC8
  1263. 00000C14  4878 FFFF                push.l     0xFFFF
  1264. 00000C18  303C 0501                move.w     D0, 0x501
  1265. 00000C1C  ABC9                     syscall    IconDispatch
  1266. 00000C1E  4A5F                     tst.w      [A7]+
  1267. 00000C20  6600 020C                bne        +0x20E /* 00000E2E */
  1268. 00000C24  4267                     clr.w      -[A7]
  1269. 00000C26  3F14                     move.w     -[A7], [A4]
  1270. 00000C28  206E 000C                movea.l    A0, [A6 + 0xC]
  1271. 00000C2C  2F10                     move.l     -[A7], [A0]
  1272. 00000C2E  486E FDE4                pea.l      [A6 - 0x21C]
  1273. 00000C32  486E FFA2                pea.l      [A6 - 0x5E]
  1274. 00000C36  303C 0001                move.w     D0, 0x1
  1275. 00000C3A  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1276. 00000C3C  0C5F FFD5                cmpi.w     [A7]+, 0xFFD5
  1277. 00000C40  6600 01DA                bne        +0x1DC /* 00000E1C */
  1278. 00000C44  486E FFA2                pea.l      [A6 - 0x5E]
  1279. 00000C48  42A7                     clr.l      -[A7]
  1280. 00000C4A  42A7                     clr.l      -[A7]
  1281. 00000C4C  3F3C FFFF                move.w     -[A7], 0xFFFF
  1282. 00000C50  303C 000E                move.w     D0, 0xE
  1283. 00000C54  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1284. 00000C56  4267                     clr.w      -[A7]
  1285. 00000C58  A9AF                     syscall    ResError
  1286. 00000C5A  4A5F                     tst.w      [A7]+
  1287. 00000C5C  6600 01BE                bne        +0x1C0 /* 00000E1C */
  1288. 00000C60  4227                     clr.b      -[A7]
  1289. 00000C62  486E FFA2                pea.l      [A6 - 0x5E]
  1290. 00000C66  486E FFA0                pea.l      [A6 - 0x60]
  1291. 00000C6A  3F3C 0002                move.w     -[A7], 0x2
  1292. 00000C6E  4EBA FE12                jsr        [PC - 0x1EE /* 00000A82 */]
  1293. 00000C72  4257                     clr.w      [A7]
  1294. 00000C74  A9AF                     syscall    ResError
  1295. 00000C76  4A5F                     tst.w      [A7]+
  1296. 00000C78  6600 01A2                bne        +0x1A4 /* 00000E1C */
  1297. 00000C7C  3F2E FFA0                move.w     -[A7], [A6 - 0x60]
  1298. 00000C80  A998                     syscall    UseResFile
  1299. 00000C82  4267                     clr.w      -[A7]
  1300. 00000C84  486E FFE8                pea.l      [A6 - 0x18]
  1301. 00000C88  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1302. 00000C8C  2F3C 6963 6C38           move.l     -[A7], 0x69636C38 /* 'icl8' */
  1303. 00000C92  303C 0609                move.w     D0, 0x609
  1304. 00000C96  ABC9                     syscall    IconDispatch
  1305. 00000C98  4A5F                     tst.w      [A7]+
  1306. 00000C9A  6606                     bne        +0x8 /* 00000CA2 */
  1307. 00000C9C  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1308. 00000CA0  A992                     syscall    DetachResource
  1309. label00000CA2:
  1310. 00000CA2  4267                     clr.w      -[A7]
  1311. 00000CA4  A9AF                     syscall    ResError
  1312. 00000CA6  4A5F                     tst.w      [A7]+
  1313. 00000CA8  6614                     bne        +0x16 /* 00000CBE */
  1314. 00000CAA  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1315. 00000CAE  2F3C 6963 6C38           move.l     -[A7], 0x69636C38 /* 'icl8' */
  1316. 00000CB4  3F3C BFB9                move.w     -[A7], 0xBFB9
  1317. 00000CB8  486D FF1A                pea.l      [A5 - 0xE6]
  1318. 00000CBC  A9AB                     syscall    AddResource
  1319. label00000CBE:
  1320. 00000CBE  4267                     clr.w      -[A7]
  1321. 00000CC0  486E FFE8                pea.l      [A6 - 0x18]
  1322. 00000CC4  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1323. 00000CC8  2F3C 6963 6C34           move.l     -[A7], 0x69636C34 /* 'icl4' */
  1324. 00000CCE  303C 0609                move.w     D0, 0x609
  1325. 00000CD2  ABC9                     syscall    IconDispatch
  1326. 00000CD4  4A5F                     tst.w      [A7]+
  1327. 00000CD6  6606                     bne        +0x8 /* 00000CDE */
  1328. 00000CD8  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1329. 00000CDC  A992                     syscall    DetachResource
  1330. label00000CDE:
  1331. 00000CDE  4267                     clr.w      -[A7]
  1332. 00000CE0  A9AF                     syscall    ResError
  1333. 00000CE2  4A5F                     tst.w      [A7]+
  1334. 00000CE4  6614                     bne        +0x16 /* 00000CFA */
  1335. 00000CE6  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1336. 00000CEA  2F3C 6963 6C34           move.l     -[A7], 0x69636C34 /* 'icl4' */
  1337. 00000CF0  3F3C BFB9                move.w     -[A7], 0xBFB9
  1338. 00000CF4  486D FF1C                pea.l      [A5 - 0xE4]
  1339. 00000CF8  A9AB                     syscall    AddResource
  1340. label00000CFA:
  1341. 00000CFA  4267                     clr.w      -[A7]
  1342. 00000CFC  486E FFE8                pea.l      [A6 - 0x18]
  1343. 00000D00  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1344. 00000D04  2F3C 6963 7338           move.l     -[A7], 0x69637338 /* 'ics8' */
  1345. 00000D0A  303C 0609                move.w     D0, 0x609
  1346. 00000D0E  ABC9                     syscall    IconDispatch
  1347. 00000D10  4A5F                     tst.w      [A7]+
  1348. 00000D12  6606                     bne        +0x8 /* 00000D1A */
  1349. 00000D14  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1350. 00000D18  A992                     syscall    DetachResource
  1351. label00000D1A:
  1352. 00000D1A  4267                     clr.w      -[A7]
  1353. 00000D1C  A9AF                     syscall    ResError
  1354. 00000D1E  4A5F                     tst.w      [A7]+
  1355. 00000D20  6614                     bne        +0x16 /* 00000D36 */
  1356. 00000D22  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1357. 00000D26  2F3C 6963 7338           move.l     -[A7], 0x69637338 /* 'ics8' */
  1358. 00000D2C  3F3C BFB9                move.w     -[A7], 0xBFB9
  1359. 00000D30  486D FF1E                pea.l      [A5 - 0xE2]
  1360. 00000D34  A9AB                     syscall    AddResource
  1361. label00000D36:
  1362. 00000D36  4267                     clr.w      -[A7]
  1363. 00000D38  486E FFE8                pea.l      [A6 - 0x18]
  1364. 00000D3C  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1365. 00000D40  2F3C 6963 7334           move.l     -[A7], 0x69637334 /* 'ics4' */
  1366. 00000D46  303C 0609                move.w     D0, 0x609
  1367. 00000D4A  ABC9                     syscall    IconDispatch
  1368. 00000D4C  4A5F                     tst.w      [A7]+
  1369. 00000D4E  6606                     bne        +0x8 /* 00000D56 */
  1370. 00000D50  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1371. 00000D54  A992                     syscall    DetachResource
  1372. label00000D56:
  1373. 00000D56  4267                     clr.w      -[A7]
  1374. 00000D58  A9AF                     syscall    ResError
  1375. 00000D5A  4A5F                     tst.w      [A7]+
  1376. 00000D5C  6614                     bne        +0x16 /* 00000D72 */
  1377. 00000D5E  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1378. 00000D62  2F3C 6963 7334           move.l     -[A7], 0x69637334 /* 'ics4' */
  1379. 00000D68  3F3C BFB9                move.w     -[A7], 0xBFB9
  1380. 00000D6C  486D FF20                pea.l      [A5 - 0xE0]
  1381. 00000D70  A9AB                     syscall    AddResource
  1382. label00000D72:
  1383. 00000D72  4267                     clr.w      -[A7]
  1384. 00000D74  486E FFE8                pea.l      [A6 - 0x18]
  1385. 00000D78  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1386. 00000D7C  2F3C 4943 4E23           move.l     -[A7], 0x49434E23 /* 'ICN#' */
  1387. 00000D82  303C 0609                move.w     D0, 0x609
  1388. 00000D86  ABC9                     syscall    IconDispatch
  1389. 00000D88  4A5F                     tst.w      [A7]+
  1390. 00000D8A  6606                     bne        +0x8 /* 00000D92 */
  1391. 00000D8C  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1392. 00000D90  A992                     syscall    DetachResource
  1393. label00000D92:
  1394. 00000D92  4267                     clr.w      -[A7]
  1395. 00000D94  A9AF                     syscall    ResError
  1396. 00000D96  4A5F                     tst.w      [A7]+
  1397. 00000D98  6614                     bne        +0x16 /* 00000DAE */
  1398. 00000D9A  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1399. 00000D9E  2F3C 4943 4E23           move.l     -[A7], 0x49434E23 /* 'ICN#' */
  1400. 00000DA4  3F3C BFB9                move.w     -[A7], 0xBFB9
  1401. 00000DA8  486D FF22                pea.l      [A5 - 0xDE]
  1402. 00000DAC  A9AB                     syscall    AddResource
  1403. label00000DAE:
  1404. 00000DAE  4267                     clr.w      -[A7]
  1405. 00000DB0  486E FFE8                pea.l      [A6 - 0x18]
  1406. 00000DB4  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1407. 00000DB8  2F3C 6963 7323           move.l     -[A7], 0x69637323 /* 'ics#' */
  1408. 00000DBE  303C 0609                move.w     D0, 0x609
  1409. 00000DC2  ABC9                     syscall    IconDispatch
  1410. 00000DC4  4A5F                     tst.w      [A7]+
  1411. 00000DC6  6606                     bne        +0x8 /* 00000DCE */
  1412. 00000DC8  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1413. 00000DCC  A992                     syscall    DetachResource
  1414. label00000DCE:
  1415. 00000DCE  4267                     clr.w      -[A7]
  1416. 00000DD0  A9AF                     syscall    ResError
  1417. 00000DD2  4A5F                     tst.w      [A7]+
  1418. 00000DD4  6614                     bne        +0x16 /* 00000DEA */
  1419. 00000DD6  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  1420. 00000DDA  2F3C 6963 7323           move.l     -[A7], 0x69637323 /* 'ics#' */
  1421. 00000DE0  3F3C BFB9                move.w     -[A7], 0xBFB9
  1422. 00000DE4  486D FF24                pea.l      [A5 - 0xDC]
  1423. 00000DE8  A9AB                     syscall    AddResource
  1424. label00000DEA:
  1425. 00000DEA  3F2E FFA0                move.w     -[A7], [A6 - 0x60]
  1426. 00000DEE  A99A                     syscall    CloseResFile
  1427. 00000DF0  4267                     clr.w      -[A7]
  1428. 00000DF2  486E FFA2                pea.l      [A6 - 0x5E]
  1429. 00000DF6  486E FF90                pea.l      [A6 - 0x70]
  1430. 00000DFA  303C 0007                move.w     D0, 0x7
  1431. 00000DFE  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1432. 00000E00  4A5F                     tst.w      [A7]+
  1433. 00000E02  6618                     bne        +0x1A /* 00000E1C */
  1434. 00000E04  006E 4000 FF98           ori.w      [A6 - 0x68], 0x4000 /* '@\0' */
  1435. 00000E0A  4267                     clr.w      -[A7]
  1436. 00000E0C  486E FFA2                pea.l      [A6 - 0x5E]
  1437. 00000E10  486E FF90                pea.l      [A6 - 0x70]
  1438. 00000E14  303C 0008                move.w     D0, 0x8
  1439. 00000E18  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1440. 00000E1A  548F                     addq.l     A7, 2
  1441. label00000E1C:
  1442. 00000E1C  4267                     clr.w      -[A7]
  1443. 00000E1E  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1444. 00000E22  1F3C 0001                move.b     -[A7], 0x1
  1445. 00000E26  303C 0302                move.w     D0, 0x302
  1446. 00000E2A  ABC9                     syscall    IconDispatch
  1447. 00000E2C  548F                     addq.l     A7, 2
  1448. label00000E2E:
  1449. 00000E2E  1D7C 0001 0018           move.b     [A6 + 0x18], 0x1
  1450. label00000E34:
  1451. 00000E34  4CEE 1CC0 FDD0           movem.l    D6,D7,A2,A3,A4, [A6 - 0x230]
  1452. 00000E3A  4E5E                     unlink     A6
  1453. 00000E3C  205F                     movea.l    A0, [A7]+
  1454. 00000E3E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1455. 00000E42  4ED0                     jmp        [A0]
  1456. 00000E44  904D                     sub.w      D0, A5
  1457. 00000E46  616B                     bsr        +0x6D /* 00000EB3 */
  1458. 00000E48  654E                     bcs        +0x50 /* 00000E98 */
  1459. 00000E4A  6577                     bcs        +0x79 /* 00000EC3 */
  1460. 00000E4C  4469 7265                neg.w      [A1 + 0x7265]
  1461. 00000E50  6374                     bls        +0x76 /* 00000EC6 */
  1462. 00000E52  6F72                     ble        +0x74 /* 00000EC6 */
  1463. 00000E54  7900                     moveq.l    D4, 0x00
  1464. 00000E56  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1465. // begin alternate branch 00000E58-00000E60
  1466. fn00000E58:
  1467. 00000E58  4E56 0000                link       A6, 0
  1468. 00000E5C  3F2D FEFE                move.w     -[A7], [A5 - 0x102]
  1469. // end alternate branch 00000E58-00000E60
  1470. fn00000E58: // (misaligned)
  1471. 00000E5A  0000 3F2D                ori.b      D0, 0x2D /* '-' */
  1472. 00000E5E  FEFE                     .extension 0xEFE // unimplemented
  1473. 00000E60  A998                     syscall    UseResFile
  1474. 00000E62  486D FF26                pea.l      [A5 - 0xDA]
  1475. 00000E66  486D FF28                pea.l      [A5 - 0xD8]
  1476. 00000E6A  486D FF2A                pea.l      [A5 - 0xD6]
  1477. 00000E6E  486D FF2C                pea.l      [A5 - 0xD4]
  1478. 00000E72  A98B                     syscall    ParamText
  1479. 00000E74  2F2D FF02                move.l     -[A7], [A5 - 0xFE]
  1480. 00000E78  A983                     syscall    DisposeDialog
  1481. 00000E7A  2F2D FF0E                move.l     -[A7], [A5 - 0xF2]
  1482. 00000E7E  A873                     syscall    SetPort
  1483. 00000E80  A850                     syscall    InitCursor
  1484. 00000E82  4A2D FEFC                tst.b      [A5 - 0x104]
  1485. 00000E86  660C                     bne        +0xE /* 00000E94 */
  1486. 00000E88  2F3C 0064 0003           move.l     -[A7], 0x640003
  1487. 00000E8E  4EBA 0136                jsr        [PC + 0x136 /* 00000FC6 */]
  1488. 00000E92  588F                     addq.l     A7, 4
  1489. label00000E94:
  1490. 00000E94  4A2D FD65                tst.b      [A5 - 0x29B]
  1491. label00000E98:
  1492. 00000E98  6706                     beq        +0x8 /* 00000EA0 */
  1493. 00000E9A  2F2D FD80                move.l     -[A7], [A5 - 0x280]
  1494. 00000E9E  A915                     syscall    ShowWindow
  1495. label00000EA0:
  1496. 00000EA0  4A2E 000C                tst.b      [A6 + 0xC]
  1497. 00000EA4  670C                     beq        +0xE /* 00000EB2 */
  1498. 00000EA6  4A2D FD65                tst.b      [A5 - 0x29B]
  1499. 00000EAA  6606                     bne        +0x8 /* 00000EB2 */
  1500. 00000EAC  1B7C 0001 FD64           move.b     [A5 - 0x29C], 0x1
  1501. label00000EB2:
  1502. 00000EB2  4E5E                     unlink     A6
  1503. 00000EB4  205F                     movea.l    A0, [A7]+
  1504. 00000EB6  5C8F                     addq.l     A7, 6
  1505. 00000EB8  4ED0                     jmp        [A0]
  1506. 00000EBA  8E50                     or.w       D7, [A0]
  1507. 00000EBC  6F73                     ble        +0x75 /* 00000F31 */
  1508. 00000EBE  7446                     moveq.l    D2, 0x46
  1509. 00000EC0  6C69                     bge        +0x6B /* 00000F2B */
  1510. 00000EC2  6768                     beq        +0x6A /* 00000F2C */
  1511. 00000EC4  7444                     moveq.l    D2, 0x44
  1512. label00000EC6:
  1513. 00000EC6  6F63                     ble        +0x65 /* 00000F2B */
  1514. 00000EC8  7300                     moveq.l    D1, 0x00
  1515. 00000ECA  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1516. // begin alternate branch 00000ECC-00000ED0
  1517. fn00000ECC:
  1518. 00000ECC  4E56 FF98                link       A6, -0x0068
  1519. // end alternate branch 00000ECC-00000ED0
  1520. fn00000ECC: // (misaligned)
  1521. 00000ECE  FF98                     .extension 0xF98 // unimplemented
  1522. 00000ED0  4A2D FD65                tst.b      [A5 - 0x29B]
  1523. 00000ED4  6706                     beq        +0x8 /* 00000EDC */
  1524. 00000ED6  2F2D FD80                move.l     -[A7], [A5 - 0x280]
  1525. 00000EDA  A916                     syscall    HideWindow
  1526. label00000EDC:
  1527. 00000EDC  42A7                     clr.l      -[A7]
  1528. 00000EDE  3F3C FFFF                move.w     -[A7], 0xFFFF
  1529. 00000EE2  486E FF98                pea.l      [A6 - 0x68]
  1530. 00000EE6  486E FFA8                pea.l      [A6 - 0x58]
  1531. 00000EEA  3F3C 0006                move.w     -[A7], 0x6
  1532. 00000EEE  A9EA                     syscall    Pack3
  1533. 00000EF0  4A2E FFA8                tst.b      [A6 - 0x58]
  1534. 00000EF4  670A                     beq        +0xC /* 00000F00 */
  1535. 00000EF6  486E FFAE                pea.l      [A6 - 0x52]
  1536. 00000EFA  4EBA 034C                jsr        [PC + 0x34C /* 00001248 */]
  1537. 00000EFE  588F                     addq.l     A7, 4
  1538. label00000F00:
  1539. 00000F00  4A2D FD65                tst.b      [A5 - 0x29B]
  1540. 00000F04  6706                     beq        +0x8 /* 00000F0C */
  1541. 00000F06  2F2D FD80                move.l     -[A7], [A5 - 0x280]
  1542. 00000F0A  A915                     syscall    ShowWindow
  1543. label00000F0C:
  1544. 00000F0C  4E5E                     unlink     A6
  1545. 00000F0E  4E75                     rts
  1546. 00000F10  8A53                     or.w       D5, [A3]
  1547. 00000F12  656C                     bcs        +0x6E /* 00000F80 */
  1548. 00000F14  6563                     bcs        +0x65 /* 00000F79 */
  1549. 00000F16  7446                     moveq.l    D2, 0x46
  1550. 00000F18  696C                     bvs        +0x6E /* 00000F86 */
  1551. 00000F1A  6500 0000                bcs        +0x2 /* 00000F1C */
  1552. // begin alternate branch 00000F1C-00000F24
  1553. label00000F1C:
  1554. 00000F1C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1555. fn00000F1E: // (misaligned)
  1556. 00000F20  0000 4267                ori.b      D0, 0x67 /* 'g' */
  1557. // end alternate branch 00000F1C-00000F24
  1558. label00000F1C: // (misaligned)
  1559. fn00000F1E:
  1560. 00000F1E  4E56 0000                link       A6, 0
  1561. 00000F22  4267                     clr.w      -[A7]
  1562. 00000F24  A994                     syscall    CurResFile
  1563. 00000F26  3B5F FEFE                move.w     [A5 - 0x102], [A7]+
  1564. 00000F2A  1D7C 0001 0008           move.b     [A6 + 0x8], 0x1
  1565. // begin alternate branch 00000F2C-00000F30
  1566. label00000F2C:
  1567. 00000F2C  0001 0008                ori.b      D1, 0x8
  1568. // end alternate branch 00000F2C-00000F30
  1569. label00000F2C: // (misaligned)
  1570. 00000F30  4E5E                     unlink     A6
  1571. 00000F32  4E75                     rts
  1572. 00000F34  8F49 6E69                pack       -[A7], -[A1], 0x6E69
  1573. 00000F38  7455                     moveq.l    D2, 0x55
  1574. 00000F3A  7365                     moveq.l    D1, 0x65
  1575. 00000F3C  7247                     moveq.l    D1, 0x47
  1576. 00000F3E  6C6F                     bge        +0x71 /* 00000FAF */
  1577. 00000F40  6261                     bhi        +0x63 /* 00000FA3 */
  1578. 00000F42  6C73                     bge        +0x75 /* 00000FB7 */
  1579. 00000F44  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1580. // begin alternate branch 00000F46-00000F4C
  1581. fn00000F46:
  1582. 00000F46  4E56 0000                link       A6, 0
  1583. 00000F4A  4E5E                     unlink     A6
  1584. // end alternate branch 00000F46-00000F4C
  1585. fn00000F46: // (misaligned)
  1586. 00000F48  0000 4E5E                ori.b      D0, 0x5E /* '^' */
  1587. 00000F4C  4E75                     rts
  1588. 00000F4E  9244                     sub.w      D1, D4
  1589. 00000F50  6973                     bvs        +0x75 /* 00000FC5 */
  1590. 00000F52  706F                     moveq.l    D0, 0x6F
  1591. 00000F54  7365                     moveq.l    D1, 0x65
  1592. 00000F56  5573 6572 476C 6F62 616C subq.w     [[A3 + 0x476C6F62] + 0x616C], 2
  1593. 00000F60  7300                     moveq.l    D1, 0x00
  1594. 00000F62  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1595. // begin alternate branch 00000F64-00000F68
  1596. fn00000F64:
  1597. 00000F64  4E56 FE00                link       A6, -0x0200
  1598. // end alternate branch 00000F64-00000F68
  1599. fn00000F64: // (misaligned)
  1600. 00000F66  FE00                     .extension 0xE00 // unimplemented
  1601. 00000F68  3F2D FEFE                move.w     -[A7], [A5 - 0x102]
  1602. 00000F6C  A998                     syscall    UseResFile
  1603. 00000F6E  A850                     syscall    InitCursor
  1604. 00000F70  486E FF00                pea.l      [A6 - 0x100]
  1605. 00000F74  3F3C 0064                move.w     -[A7], 0x64 /* 'd' */
  1606. 00000F78  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  1607. 00000F7C  4EBA 095E                jsr        [PC + 0x95E /* 000018DC */]
  1608. label00000F80:
  1609. 00000F80  486E FE00                pea.l      [A6 - 0x200]
  1610. 00000F84  3F3C 0064                move.w     -[A7], 0x64 /* 'd' */
  1611. // begin alternate branch 00000F86-00000F90
  1612. label00000F86:
  1613. 00000F86  0064 3F2E                ori.w      -[A4], 0x3F2E /* '?.' */
  1614. 00000F8A  000E 4EBA                ori.b      A6, 0xBA
  1615. 00000F8E  094E                     bchg       A6, D4
  1616. // end alternate branch 00000F86-00000F90
  1617. label00000F86: // (misaligned)
  1618. 00000F88  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  1619. 00000F8C  4EBA 094E                jsr        [PC + 0x94E /* 000018DC */]
  1620. 00000F90  486E FF00                pea.l      [A6 - 0x100]
  1621. 00000F94  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  1622. 00000F98  486E FE00                pea.l      [A6 - 0x200]
  1623. 00000F9C  42A7                     clr.l      -[A7]
  1624. 00000F9E  A98B                     syscall    ParamText
  1625. 00000FA0  4267                     clr.w      -[A7]
  1626. 00000FA2  3F3C 00C8                move.w     -[A7], 0xC8
  1627. 00000FA6  42A7                     clr.l      -[A7]
  1628. 00000FA8  A985                     syscall    Alert
  1629. 00000FAA  4A2E 0010                tst.b      [A6 + 0x10]
  1630. 00000FAE  548F                     addq.l     A7, 2
  1631. 00000FB0  6702                     beq        +0x4 /* 00000FB4 */
  1632. 00000FB2  A9F4                     syscall    ExitToShell
  1633. label00000FB4:
  1634. 00000FB4  4E5E                     unlink     A6
  1635. 00000FB6  4E75                     rts
  1636. 00000FB8  8A45                     or.w       D5, D5
  1637. 00000FBA  7272                     moveq.l    D1, 0x72
  1638. 00000FBC  6F72                     ble        +0x74 /* 00001030 */
  1639. 00000FBE  416C 6572                chk.w      D0, [A4 + 0x6572]
  1640. 00000FC2  7400                     moveq.l    D2, 0x00
  1641. 00000FC4  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1642. // begin alternate branch 00000FC6-00000FCA
  1643. fn00000FC6:
  1644. 00000FC6  4E56 FF00                link       A6, -0x0100
  1645. // end alternate branch 00000FC6-00000FCA
  1646. fn00000FC6: // (misaligned)
  1647. 00000FC8  FF00                     .extension 0xF00 // unimplemented
  1648. 00000FCA  3F2D FEFE                move.w     -[A7], [A5 - 0x102]
  1649. 00000FCE  A998                     syscall    UseResFile
  1650. 00000FD0  486E FF00                pea.l      [A6 - 0x100]
  1651. 00000FD4  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  1652. 00000FD8  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  1653. 00000FDC  4EBA 08FE                jsr        [PC + 0x8FE /* 000018DC */]
  1654. 00000FE0  486E FF00                pea.l      [A6 - 0x100]
  1655. 00000FE4  42A7                     clr.l      -[A7]
  1656. 00000FE6  42A7                     clr.l      -[A7]
  1657. 00000FE8  42A7                     clr.l      -[A7]
  1658. 00000FEA  A98B                     syscall    ParamText
  1659. 00000FEC  4267                     clr.w      -[A7]
  1660. 00000FEE  3F3C 0081                move.w     -[A7], 0x81
  1661. 00000FF2  42A7                     clr.l      -[A7]
  1662. 00000FF4  A985                     syscall    Alert
  1663. 00000FF6  4E5E                     unlink     A6
  1664. 00000FF8  4E75                     rts
  1665. 00000FFA  8949 6E66                pack       -[A4], -[A1], 0x6E66
  1666. 00000FFE  6F41                     ble        +0x43 /* 00001041 */
  1667. 00001000  6C65                     bge        +0x67 /* 00001067 */
  1668. 00001002  7274                     moveq.l    D1, 0x74
  1669. 00001004  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1670. 00001008  FFBC                     .extension 0xFBC // unimplemented
  1671. 0000100A  2F07                     move.l     -[A7], D7
  1672. 0000100C  4267                     clr.w      -[A7]
  1673. 0000100E  486E FFBC                pea.l      [A6 - 0x44]
  1674. 00001012  3F3C 0037                move.w     -[A7], 0x37 /* '7' */
  1675. 00001016  A88F                     syscall    OSDispatch
  1676. 00001018  3E1F                     move.w     D7, [A7]+
  1677. 0000101A  703C                     moveq.l    D0, 0x3C
  1678. 0000101C  2D40 FFC4                move.l     [A6 - 0x3C], D0
  1679. 00001020  2D6E 0008 FFC8           move.l     [A6 - 0x38], [A6 + 0x8]
  1680. 00001026  42AE FFFC                clr.l      [A6 - 0x4]
  1681. 0000102A  4267                     clr.w      -[A7]
  1682. 0000102C  486E FFBC                pea.l      [A6 - 0x44]
  1683. label00001030:
  1684. 00001030  486E FFC4                pea.l      [A6 - 0x3C]
  1685. 00001034  3F3C 003A                move.w     -[A7], 0x3A /* ':' */
  1686. 00001038  A88F                     syscall    OSDispatch
  1687. 0000103A  3E1F                     move.w     D7, [A7]+
  1688. 0000103C  2E1F                     move.l     D7, [A7]+
  1689. 0000103E  4E5E                     unlink     A6
  1690. 00001040  4E75                     rts
  1691. 00001042  8A47                     or.w       D5, D7
  1692. 00001044  6574                     bcs        +0x76 /* 000010BA */
  1693. 00001046  4170 704E                chk.w      D0, [A0 + D7.w + 0x4E]
  1694. 0000104A  616D                     bsr        +0x6F /* 000010B9 */
  1695. 0000104C  6500 0000                bcs        +0x2 /* 0000104E */
  1696. // begin alternate branch 0000104E-00001054
  1697. label0000104E:
  1698. 0000104E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1699. 00001052  FEBC                     .extension 0xEBC // unimplemented
  1700. // end alternate branch 0000104E-00001054
  1701. label0000104E: // (misaligned)
  1702. 00001050  4E56 FEBC                link       A6, -0x0144
  1703. 00001054  2F07                     move.l     -[A7], D7
  1704. 00001056  4267                     clr.w      -[A7]
  1705. 00001058  486E FEBC                pea.l      [A6 - 0x144]
  1706. 0000105C  3F3C 0037                move.w     -[A7], 0x37 /* '7' */
  1707. 00001060  A88F                     syscall    OSDispatch
  1708. 00001062  3E1F                     move.w     D7, [A7]+
  1709. 00001064  703C                     moveq.l    D0, 0x3C
  1710. 00001066  2D40 FEC4                move.l     [A6 - 0x13C], D0
  1711. 0000106A  41EE FF00                lea.l      A0, [A6 - 0x100]
  1712. 0000106E  2D48 FEC8                move.l     [A6 - 0x138], A0
  1713. 00001072  2D6E 0008 FEFC           move.l     [A6 - 0x104], [A6 + 0x8]
  1714. 00001078  4267                     clr.w      -[A7]
  1715. 0000107A  486E FEBC                pea.l      [A6 - 0x144]
  1716. 0000107E  486E FEC4                pea.l      [A6 - 0x13C]
  1717. 00001082  3F3C 003A                move.w     -[A7], 0x3A /* ':' */
  1718. 00001086  A88F                     syscall    OSDispatch
  1719. 00001088  3E1F                     move.w     D7, [A7]+
  1720. 0000108A  2E1F                     move.l     D7, [A7]+
  1721. 0000108C  4E5E                     unlink     A6
  1722. 0000108E  4E75                     rts
  1723. 00001090  8C47                     or.w       D6, D7
  1724. 00001092  6574                     bcs        +0x76 /* 00001108 */
  1725. 00001094  4170 7046                chk.w      D0, [A0 + D7.w + 0x46]
  1726. 00001098  5353                     subq.w     [A3], 1
  1727. 0000109A  7065                     moveq.l    D0, 0x65
  1728. 0000109C  6300 0000                bls        +0x2 /* 0000109E */
  1729. // begin alternate branch 0000109E-000010A4
  1730. label0000109E:
  1731. 0000109E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1732. fn000010A0: // (misaligned)
  1733. 000010A2  FFF8                     .extension 0xFF8 // unimplemented
  1734. // end alternate branch 0000109E-000010A4
  1735. label0000109E: // (misaligned)
  1736. fn000010A0:
  1737. 000010A0  4E56 FFF8                link       A6, -0x0008
  1738. 000010A4  42AE FFF8                clr.l      [A6 - 0x8]
  1739. 000010A8  7002                     moveq.l    D0, 0x02
  1740. 000010AA  2D40 FFFC                move.l     [A6 - 0x4], D0
  1741. 000010AE  4267                     clr.w      -[A7]
  1742. 000010B0  2F3C 7073 6E20           move.l     -[A7], 0x70736E20 /* 'psn ' */
  1743. 000010B6  486E FFF8                pea.l      [A6 - 0x8]
  1744. label000010BA:
  1745. 000010BA  4878 0008                push.l     0x8
  1746. 000010BE  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1747. 000010C2  303C 0825                move.w     D0, 0x825
  1748. 000010C6  A816                     syscall    Pack8
  1749. 000010C8  301F                     move.w     D0, [A7]+
  1750. 000010CA  4E5E                     unlink     A6
  1751. 000010CC  4E75                     rts
  1752. 000010CE  9147                     subx.w     D0, D7
  1753. 000010D0  6574                     bcs        +0x76 /* 00001146 */
  1754. 000010D2  5461                     addq.w     -[A1], 2
  1755. 000010D4  7267                     moveq.l    D1, 0x67
  1756. 000010D6  6574                     bcs        +0x76 /* 0000114C */
  1757. 000010D8  4672 6F6D                not.w      <<invalid full ext with IS == 1 and I/IS == 5>>
  1758. 000010DC  5365                     subq.w     -[A5], 1
  1759. 000010DE  6C66                     bge        +0x68 /* 00001146 */
  1760. 000010E0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1761. 000010E4  0000 4267                ori.b      D0, 0x67 /* 'g' */
  1762. 000010E8  2F3C 7369 676E           move.l     -[A7], 0x7369676E /* 'sign' */
  1763. 000010EE  486E 0008                pea.l      [A6 + 0x8]
  1764. 000010F2  4878 0004                push.l     0x4
  1765. 000010F6  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  1766. 000010FA  303C 0825                move.w     D0, 0x825
  1767. 000010FE  A816                     syscall    Pack8
  1768. 00001100  301F                     move.w     D0, [A7]+
  1769. 00001102  4E5E                     unlink     A6
  1770. 00001104  4E75                     rts
  1771. 00001106  9647                     sub.w      D3, D7
  1772. label00001108:
  1773. 00001108  6574                     bcs        +0x76 /* 0000117E */
  1774. 0000110A  5461                     addq.w     -[A1], 2
  1775. 0000110C  7267                     moveq.l    D1, 0x67
  1776. 0000110E  6574                     bcs        +0x76 /* 00001184 */
  1777. 00001110  4672 6F6D                not.w      <<invalid full ext with IS == 1 and I/IS == 5>>
  1778. 00001114  5369 676E                subq.w     [A1 + 0x676E], 1
  1779. 00001118  6174                     bsr        +0x76 /* 0000118E */
  1780. 0000111A  7572                     moveq.l    D2, 0x72
  1781. 0000111C  6500 0000                bcs        +0x2 /* 0000111E */
  1782. // begin alternate branch 0000111E-00001124
  1783. label0000111E:
  1784. 0000111E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1785. 00001122  FEBA                     .extension 0xEBA // unimplemented
  1786. // end alternate branch 0000111E-00001124
  1787. label0000111E: // (misaligned)
  1788. 00001120  4E56 FEBA                link       A6, -0x0146
  1789. 00001124  2F07                     move.l     -[A7], D7
  1790. 00001126  4267                     clr.w      -[A7]
  1791. 00001128  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1792. 0000112C  486D FF2E                pea.l      [A5 - 0xD2]
  1793. 00001130  4227                     clr.b      -[A7]
  1794. 00001132  486E FF50                pea.l      [A6 - 0xB0]
  1795. 00001136  486E FEBA                pea.l      [A6 - 0x146]
  1796. 0000113A  42A7                     clr.l      -[A7]
  1797. 0000113C  486D FF30                pea.l      [A5 - 0xD0]
  1798. 00001140  303C 0D00                move.w     D0, 0xD00 /* '\r\0' */
  1799. 00001144  A82B                     syscall    Pack9
  1800. label00001146:
  1801. 00001146  3E1F                     move.w     D7, [A7]+
  1802. 00001148  4A47                     tst.w      D7
  1803. 0000114A  662C                     bne        +0x2E /* 00001178 */
  1804. label0000114C:
  1805. 0000114C  41EE FF08                lea.l      A0, [A6 - 0xF8]
  1806. 00001150  43EE FEBC                lea.l      A1, [A6 - 0x144]
  1807. 00001154  7011                     moveq.l    D0, 0x11
  1808. label00001156:
  1809. 00001156  20D9                     move.l     [A0]+, [A1]+
  1810. 00001158  51C8 FFFC                dbf        D0, -0x6 /* 00001156 */
  1811. 0000115C  4267                     clr.w      -[A7]
  1812. 0000115E  2F3C 7461 7267           move.l     -[A7], 0x74617267 /* 'targ' */
  1813. 00001164  486E FF04                pea.l      [A6 - 0xFC]
  1814. 00001168  4878 00FC                push.l     0xFC
  1815. 0000116C  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  1816. 00001170  303C 0825                move.w     D0, 0x825
  1817. 00001174  A816                     syscall    Pack8
  1818. 00001176  3E1F                     move.w     D7, [A7]+
  1819. label00001178:
  1820. 00001178  3007                     move.w     D0, D7
  1821. 0000117A  2E1F                     move.l     D7, [A7]+
  1822. 0000117C  4E5E                     unlink     A6
  1823. label0000117E:
  1824. 0000117E  4E75                     rts
  1825. 00001180  9447                     sub.w      D2, D7
  1826. 00001182  6574                     bcs        +0x76 /* 000011F8 */
  1827. label00001184:
  1828. 00001184  5461                     addq.w     -[A1], 2
  1829. 00001186  7267                     moveq.l    D1, 0x67
  1830. 00001188  6574                     bcs        +0x76 /* 000011FE */
  1831. 0000118A  4672 6F6D                not.w      <<invalid full ext with IS == 1 and I/IS == 5>>
  1832. fn0000118E:
  1833. 0000118E  4272 6F77                clr.w      <<invalid full ext with IS == 1 and I/IS == 7>>
  1834. 00001192  7365                     moveq.l    D1, 0x65
  1835. 00001194  7200                     moveq.l    D1, 0x00
  1836. 00001196  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1837. // begin alternate branch 00001198-0000119C
  1838. fn00001198:
  1839. 00001198  4E56 FFE8                link       A6, -0x0018
  1840. // end alternate branch 00001198-0000119C
  1841. fn00001198: // (misaligned)
  1842. 0000119A  FFE8                     .extension 0xFE8 // unimplemented
  1843. 0000119C  2F07                     move.l     -[A7], D7
  1844. 0000119E  486E FFF8                pea.l      [A6 - 0x8]
  1845. 000011A2  4EBA FEFC                jsr        [PC - 0x104 /* 000010A0 */]
  1846. 000011A6  3E00                     move.w     D7, D0
  1847. 000011A8  4A47                     tst.w      D7
  1848. 000011AA  588F                     addq.l     A7, 4
  1849. 000011AC  6600 0082                bne        +0x84 /* 00001230 */
  1850. 000011B0  4267                     clr.w      -[A7]
  1851. 000011B2  2F3C 6165 7674           move.l     -[A7], 0x61657674 /* 'aevt' */
  1852. 000011B8  2F3C 6F64 6F63           move.l     -[A7], 0x6F646F63 /* 'odoc' */
  1853. 000011BE  486E FFF8                pea.l      [A6 - 0x8]
  1854. 000011C2  3F3C FFFF                move.w     -[A7], 0xFFFF
  1855. 000011C6  42A7                     clr.l      -[A7]
  1856. 000011C8  486E FFF0                pea.l      [A6 - 0x10]
  1857. 000011CC  303C 0B14                move.w     D0, 0xB14
  1858. 000011D0  A816                     syscall    Pack8
  1859. 000011D2  3E1F                     move.w     D7, [A7]+
  1860. 000011D4  4A47                     tst.w      D7
  1861. 000011D6  664A                     bne        +0x4C /* 00001222 */
  1862. 000011D8  4267                     clr.w      -[A7]
  1863. 000011DA  486E FFF0                pea.l      [A6 - 0x10]
  1864. 000011DE  2F3C 2D2D 2D2D           move.l     -[A7], 0x2D2D2D2D /* '----' */
  1865. 000011E4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1866. 000011E8  303C 0610                move.w     D0, 0x610
  1867. 000011EC  A816                     syscall    Pack8
  1868. 000011EE  3E1F                     move.w     D7, [A7]+
  1869. 000011F0  4A47                     tst.w      D7
  1870. 000011F2  6620                     bne        +0x22 /* 00001214 */
  1871. 000011F4  4267                     clr.w      -[A7]
  1872. 000011F6  486E FFF0                pea.l      [A6 - 0x10]
  1873. // begin alternate branch 000011F8-000011FA
  1874. label000011F8:
  1875. 000011F8  FFF0                     .extension 0xFF0 // unimplemented
  1876. // end alternate branch 000011F8-000011FA
  1877. label000011F8: // (misaligned)
  1878. 000011FA  486E FFE8                pea.l      [A6 - 0x18]
  1879. label000011FE:
  1880. 000011FE  4878 0021                push.l     0x21 /* '!' */
  1881. 00001202  4267                     clr.w      -[A7]
  1882. 00001204  4878 0E10                push.l     0xE10
  1883. 00001208  42A7                     clr.l      -[A7]
  1884. 0000120A  42A7                     clr.l      -[A7]
  1885. 0000120C  303C 0D17                move.w     D0, 0xD17
  1886. 00001210  A816                     syscall    Pack8
  1887. 00001212  3E1F                     move.w     D7, [A7]+
  1888. label00001214:
  1889. 00001214  4267                     clr.w      -[A7]
  1890. 00001216  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1891. 0000121A  303C 0204                move.w     D0, 0x204
  1892. 0000121E  A816                     syscall    Pack8
  1893. 00001220  3E1F                     move.w     D7, [A7]+
  1894. label00001222:
  1895. 00001222  4267                     clr.w      -[A7]
  1896. 00001224  486E FFF0                pea.l      [A6 - 0x10]
  1897. 00001228  303C 0204                move.w     D0, 0x204
  1898. 0000122C  A816                     syscall    Pack8
  1899. 0000122E  3E1F                     move.w     D7, [A7]+
  1900. label00001230:
  1901. 00001230  2E1F                     move.l     D7, [A7]+
  1902. 00001232  4E5E                     unlink     A6
  1903. 00001234  4E75                     rts
  1904. 00001236  8F5F                     or.w       [A7]+, D7
  1905. 00001238  5365                     subq.w     -[A5], 1
  1906. 0000123A  6E64                     bgt        +0x66 /* 000012A0 */
  1907. 0000123C  446F 6373                neg.w      [A7 + 0x6373]
  1908. 00001240  546F 5365                addq.w     [A7 + 0x5365], 2
  1909. 00001244  6C66                     bge        +0x68 /* 000012AC */
  1910. 00001246  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1911. // begin alternate branch 00001248-0000124C
  1912. fn00001248:
  1913. 00001248  4E56 FFEC                link       A6, -0x0014
  1914. // end alternate branch 00001248-0000124C
  1915. fn00001248: // (misaligned)
  1916. 0000124A  FFEC                     .extension 0xFEC // unimplemented
  1917. 0000124C  2F07                     move.l     -[A7], D7
  1918. 0000124E  4267                     clr.w      -[A7]
  1919. 00001250  42A7                     clr.l      -[A7]
  1920. 00001252  42A7                     clr.l      -[A7]
  1921. 00001254  4227                     clr.b      -[A7]
  1922. 00001256  486E FFF8                pea.l      [A6 - 0x8]
  1923. 0000125A  303C 0706                move.w     D0, 0x706
  1924. 0000125E  A816                     syscall    Pack8
  1925. 00001260  3E1F                     move.w     D7, [A7]+
  1926. 00001262  4A47                     tst.w      D7
  1927. 00001264  6644                     bne        +0x46 /* 000012AA */
  1928. 00001266  2D7C 616C 6973 FFF0      move.l     [A6 - 0x10], 0x616C6973 /* 'alis' */
  1929. 0000126E  4267                     clr.w      -[A7]
  1930. 00001270  42A7                     clr.l      -[A7]
  1931. 00001272  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1932. 00001276  486E FFEC                pea.l      [A6 - 0x14]
  1933. 0000127A  7002                     moveq.l    D0, 0x02
  1934. 0000127C  A823                     syscall    AliasDispatch
  1935. 0000127E  3E1F                     move.w     D7, [A7]+
  1936. 00001280  2D6E FFEC FFF4           move.l     [A6 - 0xC], [A6 - 0x14]
  1937. 00001286  4267                     clr.w      -[A7]
  1938. 00001288  486E FFF8                pea.l      [A6 - 0x8]
  1939. 0000128C  42A7                     clr.l      -[A7]
  1940. 0000128E  486E FFF0                pea.l      [A6 - 0x10]
  1941. 00001292  303C 0609                move.w     D0, 0x609
  1942. 00001296  A816                     syscall    Pack8
  1943. 00001298  3E1F                     move.w     D7, [A7]+
  1944. 0000129A  206E FFEC                movea.l    A0, [A6 - 0x14]
  1945. 0000129E  A023                     syscall    DisposHandle/DisposeHandle
  1946. label000012A0:
  1947. 000012A0  486E FFF8                pea.l      [A6 - 0x8]
  1948. 000012A4  4EBA FEF2                jsr        [PC - 0x10E /* 00001198 */]
  1949. 000012A8  588F                     addq.l     A7, 4
  1950. label000012AA:
  1951. 000012AA  2E1F                     move.l     D7, [A7]+
  1952. label000012AC:
  1953. 000012AC  4E5E                     unlink     A6
  1954. 000012AE  4E75                     rts
  1955. 000012B0  8E53                     or.w       D7, [A3]
  1956. 000012B2  656E                     bcs        +0x70 /* 00001322 */
  1957. 000012B4  644F                     bcc        +0x51 /* 00001305 */
  1958. 000012B6  444F                     neg.w      A7
  1959. 000012B8  4354                     chk.w      D1, [A4]
  1960. 000012BA  6F53                     ble        +0x55 /* 0000130F */
  1961. 000012BC  656C                     bcs        +0x6E /* 0000132A */
  1962. 000012BE  6600 0000                bne        +0x2 /* 000012C0 */
  1963. // begin alternate branch 000012C0-000012C6
  1964. label000012C0:
  1965. 000012C0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1966. fn000012C2: // (misaligned)
  1967. 000012C4  FFE8                     .extension 0xFE8 // unimplemented
  1968. // end alternate branch 000012C0-000012C6
  1969. label000012C0: // (misaligned)
  1970. fn000012C2:
  1971. 000012C2  4E56 FFE8                link       A6, -0x0018
  1972. 000012C6  2F07                     move.l     -[A7], D7
  1973. 000012C8  486E FFF8                pea.l      [A6 - 0x8]
  1974. 000012CC  4EBA FDD2                jsr        [PC - 0x22E /* 000010A0 */]
  1975. 000012D0  3E00                     move.w     D7, D0
  1976. 000012D2  4A47                     tst.w      D7
  1977. 000012D4  588F                     addq.l     A7, 4
  1978. 000012D6  6656                     bne        +0x58 /* 0000132E */
  1979. 000012D8  4267                     clr.w      -[A7]
  1980. 000012DA  2F3C 6165 7674           move.l     -[A7], 0x61657674 /* 'aevt' */
  1981. 000012E0  2F3C 7175 6974           move.l     -[A7], 0x71756974 /* 'quit' */
  1982. 000012E6  486E FFF8                pea.l      [A6 - 0x8]
  1983. 000012EA  3F3C FFFF                move.w     -[A7], 0xFFFF
  1984. 000012EE  42A7                     clr.l      -[A7]
  1985. 000012F0  486E FFF0                pea.l      [A6 - 0x10]
  1986. 000012F4  303C 0B14                move.w     D0, 0xB14
  1987. 000012F8  A816                     syscall    Pack8
  1988. 000012FA  3E1F                     move.w     D7, [A7]+
  1989. 000012FC  4A47                     tst.w      D7
  1990. 000012FE  6620                     bne        +0x22 /* 00001320 */
  1991. 00001300  4267                     clr.w      -[A7]
  1992. 00001302  486E FFF0                pea.l      [A6 - 0x10]
  1993. 00001306  486E FFE8                pea.l      [A6 - 0x18]
  1994. 0000130A  4878 0021                push.l     0x21 /* '!' */
  1995. 0000130E  4267                     clr.w      -[A7]
  1996. 00001310  4878 0E10                push.l     0xE10
  1997. 00001314  42A7                     clr.l      -[A7]
  1998. 00001316  42A7                     clr.l      -[A7]
  1999. 00001318  303C 0D17                move.w     D0, 0xD17
  2000. 0000131C  A816                     syscall    Pack8
  2001. 0000131E  3E1F                     move.w     D7, [A7]+
  2002. label00001320:
  2003. 00001320  4267                     clr.w      -[A7]
  2004. label00001322:
  2005. 00001322  486E FFF0                pea.l      [A6 - 0x10]
  2006. 00001326  303C 0204                move.w     D0, 0x204
  2007. label0000132A:
  2008. 0000132A  A816                     syscall    Pack8
  2009. 0000132C  3E1F                     move.w     D7, [A7]+
  2010. label0000132E:
  2011. 0000132E  2E1F                     move.l     D7, [A7]+
  2012. 00001330  4E5E                     unlink     A6
  2013. 00001332  4E75                     rts
  2014. 00001334  8E53                     or.w       D7, [A3]
  2015. 00001336  656E                     bcs        +0x70 /* 000013A6 */
  2016. 00001338  6451                     bcc        +0x53 /* 0000138B */
  2017. 0000133A  7569                     moveq.l    D2, 0x69
  2018. 0000133C  7454                     moveq.l    D2, 0x54
  2019. 0000133E  6F53                     ble        +0x55 /* 00001393 */
  2020. 00001340  656C                     bcs        +0x6E /* 000013AE */
  2021. 00001342  6600 0000                bne        +0x2 /* 00001344 */
  2022. // begin alternate branch 00001344-0000134A
  2023. label00001344:
  2024. 00001344  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2025. fn00001346: // (misaligned)
  2026. 00001348  FFCA                     .extension 0xFCA // unimplemented
  2027. // end alternate branch 00001344-0000134A
  2028. label00001344: // (misaligned)
  2029. fn00001346:
  2030. 00001346  4E56 FFCA                link       A6, -0x0036
  2031. 0000134A  48E7 0300                movem.l    -[A7], D6,D7
  2032. 0000134E  1E2E 000E                move.b     D7, [A6 + 0xE]
  2033. 00001352  206E 0008                movea.l    A0, [A6 + 0x8]
  2034. 00001356  2D50 FFE2                move.l     [A6 - 0x1E], [A0]
  2035. 0000135A  2D68 0004 FFE6           move.l     [A6 - 0x1A], [A0 + 0x4]
  2036. 00001360  2D6E FFE2 FFEA           move.l     [A6 - 0x16], [A6 - 0x1E]
  2037. 00001366  2D6E FFE6 FFEE           move.l     [A6 - 0x12], [A6 - 0x1A]
  2038. 0000136C  2D6E FFEA FFF2           move.l     [A6 - 0xE], [A6 - 0x16]
  2039. 00001372  2D6E FFEE FFF6           move.l     [A6 - 0xA], [A6 - 0x12]
  2040. 00001378  486E FFD0                pea.l      [A6 - 0x30]
  2041. 0000137C  A898                     syscall    GetPenState
  2042. 0000137E  4A07                     tst.b      D7
  2043. 00001380  6706                     beq        +0x8 /* 00001388 */
  2044. 00001382  486E FFCA                pea.l      [A6 - 0x36]
  2045. 00001386  AA19                     syscall    GetForeColor
  2046. label00001388:
  2047. 00001388  A89E                     syscall    PenNormal
  2048. 0000138A  4A07                     tst.b      D7
  2049. 0000138C  6714                     beq        +0x16 /* 000013A2 */
  2050. 0000138E  426E FFFA                clr.w      [A6 - 0x6]
  2051. 00001392  426E FFFC                clr.w      [A6 - 0x4]
  2052. 00001396  426E FFFE                clr.w      [A6 - 0x2]
  2053. 0000139A  486E FFFA                pea.l      [A6 - 0x6]
  2054. 0000139E  AA14                     syscall    RGBForeColor
  2055. 000013A0  6006                     bra        +0x8 /* 000013A8 */
  2056. label000013A2:
  2057. 000013A2  4878 0021                push.l     0x21 /* '!' */
  2058. label000013A6:
  2059. 000013A6  A862                     syscall    ForeColor
  2060. label000013A8:
  2061. 000013A8  486E FFF2                pea.l      [A6 - 0xE]
  2062. 000013AC  A8A1                     syscall    FrameRect
  2063. label000013AE:
  2064. 000013AE  486E FFF2                pea.l      [A6 - 0xE]
  2065. 000013B2  2F3C 0001 0001           move.l     -[A7], 0x10001
  2066. 000013B8  A8A9                     syscall    InsetRect
  2067. 000013BA  486E FFEA                pea.l      [A6 - 0x16]
  2068. 000013BE  2F3C 0001 0001           move.l     -[A7], 0x10001
  2069. 000013C4  A8A9                     syscall    InsetRect
  2070. 000013C6  486E FFE2                pea.l      [A6 - 0x1E]
  2071. 000013CA  2F3C 0001 0001           move.l     -[A7], 0x10001
  2072. 000013D0  A8A9                     syscall    InsetRect
  2073. 000013D2  3C2E FFF8                move.w     D6, [A6 - 0x8]
  2074. 000013D6  9C6E FFF4                sub.w      D6, [A6 - 0xC]
  2075. 000013DA  CDEE 000C                muls.w     D6, [A6 + 0xC]
  2076. 000013DE  48C6                     ext.l      D6
  2077. 000013E0  8DFC 0064                divs.w     D6, 0x64 /* 'd' */
  2078. 000013E4  302E FFEC                move.w     D0, [A6 - 0x14]
  2079. 000013E8  D046                     add.w      D0, D6
  2080. 000013EA  3D40 FFF0                move.w     [A6 - 0x10], D0
  2081. 000013EE  4A07                     tst.b      D7
  2082. 000013F0  671A                     beq        +0x1C /* 0000140C */
  2083. 000013F2  3D7C 4444 FFFA           move.w     [A6 - 0x6], 0x4444 /* 'DD' */
  2084. 000013F8  3D7C 4444 FFFC           move.w     [A6 - 0x4], 0x4444 /* 'DD' */
  2085. 000013FE  3D7C 4444 FFFE           move.w     [A6 - 0x2], 0x4444 /* 'DD' */
  2086. 00001404  486E FFFA                pea.l      [A6 - 0x6]
  2087. 00001408  AA14                     syscall    RGBForeColor
  2088. 0000140A  6006                     bra        +0x8 /* 00001412 */
  2089. label0000140C:
  2090. 0000140C  4878 0021                push.l     0x21 /* '!' */
  2091. 00001410  A862                     syscall    ForeColor
  2092. label00001412:
  2093. 00001412  486E FFEA                pea.l      [A6 - 0x16]
  2094. 00001416  A8A2                     syscall    PaintRect
  2095. 00001418  7001                     moveq.l    D0, 0x01
  2096. 0000141A  D06E FFF0                add.w      D0, [A6 - 0x10]
  2097. 0000141E  3D40 FFE4                move.w     [A6 - 0x1C], D0
  2098. 00001422  4A07                     tst.b      D7
  2099. 00001424  671A                     beq        +0x1C /* 00001440 */
  2100. 00001426  3D7C CCCC FFFA           move.w     [A6 - 0x6], 0xCCCC
  2101. 0000142C  3D7C CCCC FFFC           move.w     [A6 - 0x4], 0xCCCC
  2102. 00001432  3D7C FFFF FFFE           move.w     [A6 - 0x2], 0xFFFF
  2103. 00001438  486E FFFA                pea.l      [A6 - 0x6]
  2104. 0000143C  AA14                     syscall    RGBForeColor
  2105. 0000143E  6006                     bra        +0x8 /* 00001446 */
  2106. label00001440:
  2107. 00001440  4878 001E                push.l     0x1E
  2108. 00001444  A862                     syscall    ForeColor
  2109. label00001446:
  2110. 00001446  486E FFE2                pea.l      [A6 - 0x1E]
  2111. 0000144A  A8A2                     syscall    PaintRect
  2112. 0000144C  486E FFD0                pea.l      [A6 - 0x30]
  2113. 00001450  A899                     syscall    SetPenState
  2114. 00001452  4A07                     tst.b      D7
  2115. 00001454  6708                     beq        +0xA /* 0000145E */
  2116. 00001456  486E FFCA                pea.l      [A6 - 0x36]
  2117. 0000145A  AA14                     syscall    RGBForeColor
  2118. 0000145C  6006                     bra        +0x8 /* 00001464 */
  2119. label0000145E:
  2120. 0000145E  4878 0021                push.l     0x21 /* '!' */
  2121. 00001462  A862                     syscall    ForeColor
  2122. label00001464:
  2123. 00001464  4CDF 00C0                movem.l    D6,D7, [A7]+
  2124. 00001468  4E5E                     unlink     A6
  2125. 0000146A  4E75                     rts
  2126. 0000146C  8E55                     or.w       D7, [A5]
  2127. 0000146E  7064                     moveq.l    D0, 0x64
  2128. 00001470  6174                     bsr        +0x76 /* 000014E6 */
  2129. 00001472  6550                     bcs        +0x52 /* 000014C4 */
  2130. 00001474  726F                     moveq.l    D1, 0x6F
  2131. 00001476  6772                     beq        +0x74 /* 000014EA */
  2132. 00001478  6573                     bcs        +0x75 /* 000014ED */
  2133. 0000147A  7300                     moveq.l    D1, 0x00
  2134. 0000147C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2135. // begin alternate branch 0000147E-00001482
  2136. fn0000147E:
  2137. 0000147E  4E56 FFF2                link       A6, -0x000E
  2138. // end alternate branch 0000147E-00001482
  2139. fn0000147E: // (misaligned)
  2140. 00001480  FFF2                     .extension 0xFF2 // unimplemented
  2141. 00001482  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  2142. 00001486  3F2E 0010                move.w     -[A7], [A6 + 0x10]
  2143. 0000148A  486E FFFE                pea.l      [A6 - 0x2]
  2144. 0000148E  486E FFFA                pea.l      [A6 - 0x6]
  2145. 00001492  486E FFF2                pea.l      [A6 - 0xE]
  2146. 00001496  A98D                     syscall    GetDialogItem/GetDItem
  2147. 00001498  206E 0008                movea.l    A0, [A6 + 0x8]
  2148. 0000149C  20AE FFF2                move.l     [A0], [A6 - 0xE]
  2149. 000014A0  216E FFF6 0004           move.l     [A0 + 0x4], [A6 - 0xA]
  2150. 000014A6  4E5E                     unlink     A6
  2151. 000014A8  4E75                     rts
  2152. 000014AA  8944 4974                pack       D4, D4, 0x4974
  2153. 000014AE  656D                     bcs        +0x6F /* 0000151D */
  2154. 000014B0  5265                     addq.w     -[A5], 1
  2155. 000014B2  6374                     bls        +0x76 /* 00001528 */
  2156. 000014B4  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2157. // begin alternate branch 000014B6-000014BA
  2158. fn000014B6:
  2159. 000014B6  4E56 FFF0                link       A6, -0x0010
  2160. // end alternate branch 000014B6-000014BA
  2161. fn000014B6: // (misaligned)
  2162. 000014B8  FFF0                     .extension 0xFF0 // unimplemented
  2163. 000014BA  4267                     clr.w      -[A7]
  2164. 000014BC  3F3C 0001                move.w     -[A7], 0x1
  2165. 000014C0  486E FFF0                pea.l      [A6 - 0x10]
  2166. label000014C4:
  2167. 000014C4  4EBA 0060                jsr        [PC + 0x60 /* 00001526 */]
  2168. 000014C8  102E FFF9                move.b     D0, [A6 - 0x7]
  2169. 000014CC  4E5E                     unlink     A6
  2170. 000014CE  4E75                     rts
  2171. 000014D0  9043                     sub.w      D0, D3
  2172. 000014D2  6F6C                     ble        +0x6E /* 00001540 */
  2173. 000014D4  6F72                     ble        +0x74 /* 00001548 */
  2174. 000014D6  5144                     subq.w     D4, 8
  2175. 000014D8  4973 5072                chk.w      D4, [A3 + D5.w + 0x72]
  2176. 000014DC  6573                     bcs        +0x75 /* 00001551 */
  2177. 000014DE  656E                     bcs        +0x70 /* 0000154E */
  2178. 000014E0  7400                     moveq.l    D2, 0x00
  2179. 000014E2  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2180. // begin alternate branch 000014E4-000014E8
  2181. fn000014E4:
  2182. 000014E4  4E56 FFF8                link       A6, -0x0008
  2183. // end alternate branch 000014E4-000014E8
  2184. fn000014E4: // (misaligned)
  2185. fn000014E6:
  2186. 000014E6  FFF8                     .extension 0xFF8 // unimplemented
  2187. 000014E8  2F07                     move.l     -[A7], D7
  2188. label000014EA:
  2189. 000014EA  7E01                     moveq.l    D7, 0x01
  2190. 000014EC  4EBA FFC8                jsr        [PC - 0x38 /* 000014B6 */]
  2191. 000014F0  4A00                     tst.b      D0
  2192. 000014F2  671E                     beq        +0x20 /* 00001512 */
  2193. 000014F4  42A7                     clr.l      -[A7]
  2194. 000014F6  AA2A                     syscall    GetMainDevice
  2195. 000014F8  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  2196. 000014FC  206E FFFC                movea.l    A0, [A6 - 0x4]
  2197. 00001500  2050                     movea.l    A0, [A0]
  2198. 00001502  2D68 0016 FFF8           move.l     [A6 - 0x8], [A0 + 0x16]
  2199. 00001508  206E FFF8                movea.l    A0, [A6 - 0x8]
  2200. 0000150C  2050                     movea.l    A0, [A0]
  2201. 0000150E  3E28 0020                move.w     D7, [A0 + 0x20]
  2202. label00001512:
  2203. 00001512  3007                     move.w     D0, D7
  2204. 00001514  2E1F                     move.l     D7, [A7]+
  2205. 00001516  4E5E                     unlink     A6
  2206. 00001518  4E75                     rts
  2207. 0000151A  8842                     or.w       D4, D2
  2208. 0000151C  6974                     bvs        +0x76 /* 00001592 */
  2209. 0000151E  4465                     neg.w      -[A5]
  2210. 00001520  7074                     moveq.l    D0, 0x74
  2211. 00001522  6800 0000                bvc        +0x2 /* 00001524 */
  2212. // begin alternate branch 00001524-00001528
  2213. label00001524:
  2214. 00001524  0000 4A78                ori.b      D0, 0x78 /* 'x' */
  2215. // end alternate branch 00001524-00001528
  2216. label00001524: // (misaligned)
  2217. fn00001526:
  2218. 00001526  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  2219. // begin alternate branch 00001528-00001534
  2220. label00001528:
  2221. 00001528  028E 6B22 303C           andi.l     A6, 0x6B22303C /* 'k\"0<' */
  2222. 0000152E  0090 A346 2248           ori.l      [A0], 0xA3462248
  2223. // end alternate branch 00001528-00001534
  2224. label00001528: // (misaligned)
  2225. 0000152A  6B22                     bmi        +0x24 /* 0000154E */
  2226. 0000152C  303C 0090                move.w     D0, 0x90
  2227. 00001530  A346                     syscall    GetOSTrapAddress, flags=3
  2228. 00001532  2248                     movea.l    A1, A0
  2229. 00001534  303C 009F                move.w     D0, 0x9F
  2230. 00001538  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  2231. 0000153A  B3C8                     cmpa.l     A1, A0
  2232. 0000153C  6710                     beq        +0x12 /* 0000154E */
  2233. 0000153E  225F                     movea.l    A1, [A7]+
  2234. label00001540:
  2235. 00001540  205F                     movea.l    A0, [A7]+
  2236. 00001542  301F                     move.w     D0, [A7]+
  2237. 00001544  2F09                     move.l     -[A7], A1
  2238. 00001546  A090                     syscall    SysEnvirons
  2239. label00001548:
  2240. 00001548  3F40 0004                move.w     [A7 + 0x4], D0
  2241. 0000154C  4E75                     rts
  2242. label0000154E:
  2243. 0000154E  206F 0004                movea.l    A0, [A7 + 0x4]
  2244. 00001552  303C 0001                move.w     D0, 0x1
  2245. 00001556  2248                     movea.l    A1, A0
  2246. 00001558  6006                     bra        +0x8 /* 00001560 */
  2247. 0000155A  0313                     btst       [A3], D1
  2248. 0000155C  0B02                     btst       D2, D5
  2249. 0000155E  0100                     btst       D0, D0
  2250. label00001560:
  2251. 00001560  303C 0010                move.w     D0, 0x10
  2252. 00001564  E240                     asr        D0.w, 1
  2253. 00001566  5340                     subq.w     D0, 1
  2254. label00001568:
  2255. 00001568  4258                     clr.w      [A0]+
  2256. 0000156A  51C8 FFFC                dbf        D0, -0x6 /* 00001568 */
  2257. 0000156E  32BC 0002                move.w     [A1], 0x2
  2258. 00001572  2078 02AE                movea.l    A0, [0x000002AE /* ROMBase */]
  2259. 00001576  337C FFFE 0002           move.w     [A1 + 0x2], 0xFFFE
  2260. 0000157C  0C28 00FF 0009           cmpi.b     [A0 + 0x9], 0xFF
  2261. 00001582  6742                     beq        +0x44 /* 000015C6 */
  2262. 00001584  4A28 0008                tst.b      [A0 + 0x8]
  2263. 00001588  6E20                     bgt        +0x22 /* 000015AA */
  2264. 0000158A  337C FFFF 0002           move.w     [A1 + 0x2], 0xFFFF
  2265. 00001590  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  2266. // begin alternate branch 00001592-0000159C
  2267. label00001592:
  2268. 00001592  028E 6B30 337C           andi.l     A6, 0x6B30337C /* 'k03|' */
  2269. 00001598  0001 0002                ori.b      D1, 0x2
  2270. // end alternate branch 00001592-0000159C
  2271. label00001592: // (misaligned)
  2272. 00001594  6B30                     bmi        +0x32 /* 000015C6 */
  2273. 00001596  337C 0001 0002           move.w     [A1 + 0x2], 0x1
  2274. 0000159C  4A78 0B22                tst.w      [0x00000B22 /* HWCfgFlags */]
  2275. 000015A0  6A24                     bpl        +0x26 /* 000015C6 */
  2276. 000015A2  337C 0002 0002           move.w     [A1 + 0x2], 0x2
  2277. 000015A8  601C                     bra        +0x1E /* 000015C6 */
  2278. label000015AA:
  2279. 000015AA  4269 0002                clr.w      [A1 + 0x2]
  2280. 000015AE  0C28 0002 0008           cmpi.b     [A0 + 0x8], 0x2
  2281. 000015B4  6E10                     bgt        +0x12 /* 000015C6 */
  2282. 000015B6  6708                     beq        +0xA /* 000015C0 */
  2283. 000015B8  337C 0004 0002           move.w     [A1 + 0x2], 0x4
  2284. 000015BE  6006                     bra        +0x8 /* 000015C6 */
  2285. label000015C0:
  2286. 000015C0  337C 0003 0002           move.w     [A1 + 0x2], 0x3
  2287. label000015C6:
  2288. 000015C6  4269 0004                clr.w      [A1 + 0x4]
  2289. 000015CA  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  2290. 000015D0  6E0A                     bgt        +0xC /* 000015DC */
  2291. 000015D2  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  2292. 000015D6  5240                     addq.w     D0, 1
  2293. 000015D8  1340 0007                move.b     [A1 + 0x7], D0
  2294. label000015DC:
  2295. 000015DC  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  2296. 000015E0  6B0E                     bmi        +0x10 /* 000015F0 */
  2297. 000015E2  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  2298. 000015E8  6706                     beq        +0x8 /* 000015F0 */
  2299. 000015EA  137C 0001 0008           move.b     [A1 + 0x8], 0x1
  2300. label000015F0:
  2301. 000015F0  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  2302. 000015F6  6206                     bhi        +0x8 /* 000015FE */
  2303. 000015F8  137C 0001 0009           move.b     [A1 + 0x9], 0x1
  2304. label000015FE:
  2305. 000015FE  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  2306. 00001602  41FA FF5B                lea.l      A0, [PC - 0xA5 /* 0000155F, value 0x303C00 '0<\0' */]
  2307. 00001606  323C 0004                move.w     D1, 0x4
  2308. label0000160A:
  2309. 0000160A  B020                     cmp.b      D0, -[A0]
  2310. 0000160C  57C9 FFFC                dbeq       D1, -0x6 /* 0000160A */
  2311. 00001610  5241                     addq.w     D1, 1
  2312. 00001612  3341 000A                move.w     [A1 + 0xA], D1
  2313. 00001616  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  2314. 0000161A  6B18                     bmi        +0x1A /* 00001634 */
  2315. 0000161C  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  2316. 00001620  0201 000F                andi.b     D1, 0xF
  2317. 00001624  0C01 0001                cmpi.b     D1, 0x1
  2318. 00001628  660A                     bne        +0xC /* 00001634 */
  2319. 0000162A  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  2320. 0000162E  1368 0007 000D           move.b     [A1 + 0xD], [A0 + 0x7]
  2321. label00001634:
  2322. 00001634  3378 0210 000E           move.w     [A1 + 0xE], [0x00000210 /* BootDrive */]
  2323. 0000163A  4A78 03F6                tst.w      [0x000003F6 /* FSFCBLen */]
  2324. 0000163E  6D44                     blt        +0x46 /* 00001684 */
  2325. 00001640  4269 000E                clr.w      [A1 + 0xE]
  2326. 00001644  323C 003C                move.w     D1, 0x3C /* '<' */
  2327. label00001648:
  2328. 00001648  4267                     clr.w      -[A7]
  2329. 0000164A  51C9 FFFC                dbf        D1, -0x6 /* 00001648 */
  2330. 0000164E  204F                     movea.l    A0, A7
  2331. 00001650  3178 0A58 0018           move.w     [A0 + 0x18], [0x00000A58 /* SysMap */]
  2332. 00001656  7008                     moveq.l    D0, 0x08
  2333. 00001658  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2334. 0000165A  6624                     bne        +0x26 /* 00001680 */
  2335. 0000165C  3168 0034 0016           move.w     [A0 + 0x16], [A0 + 0x34]
  2336. 00001662  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  2337. 00001664  661A                     bne        +0x1C /* 00001680 */
  2338. 00001666  2168 005A 0030           move.l     [A0 + 0x30], [A0 + 0x5A]
  2339. 0000166C  217C 4552 494B 001C      move.l     [A0 + 0x1C], 0x4552494B /* 'ERIK' */
  2340. 00001674  7001                     moveq.l    D0, 0x01
  2341. 00001676  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2342. 00001678  6606                     bne        +0x8 /* 00001680 */
  2343. 0000167A  3368 0016 000E           move.w     [A1 + 0xE], [A0 + 0x16]
  2344. label00001680:
  2345. 00001680  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  2346. label00001684:
  2347. 00001684  2049                     movea.l    A0, A1
  2348. 00001686  225F                     movea.l    A1, [A7]+
  2349. 00001688  5C4F                     addq.w     A7, 6
  2350. 0000168A  3EBC EA84                move.w     [A7], 0xEA84
  2351. 0000168E  4ED1                     jmp        [A1]
  2352. fn00001690:
  2353. 00001690  4E56 0000                link       A6, 0
  2354. 00001694  203C 0000 A89F           move.l     D0, 0xA89F
  2355. 0000169A  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  2356. 0000169C  2F08                     move.l     -[A7], A0
  2357. 0000169E  203C 0000 A0AD           move.l     D0, 0xA0AD
  2358. 000016A4  A346                     syscall    GetOSTrapAddress, flags=3
  2359. 000016A6  B1DF                     cmpa.l     A0, [A7]+
  2360. 000016A8  670E                     beq        +0x10 /* 000016B8 */
  2361. 000016AA  202E 000C                move.l     D0, [A6 + 0xC]
  2362. 000016AE  A1AD                     syscall    Gestalt, flags=1
  2363. 000016B0  226E 0008                movea.l    A1, [A6 + 0x8]
  2364. 000016B4  2288                     move.l     [A1], A0
  2365. 000016B6  6026                     bra        +0x28 /* 000016DE */
  2366. label000016B8:
  2367. 000016B8  41FA 0036                lea.l      A0, [PC + 0x36 /* 000016F0, value 0x76657273 'vers' */]
  2368. 000016BC  303C EA51                move.w     D0, 0xEA51
  2369. 000016C0  222E 000C                move.l     D1, [A6 + 0xC]
  2370. label000016C4:
  2371. 000016C4  B298                     cmp.l      D1, [A0]+
  2372. 000016C6  6706                     beq        +0x8 /* 000016CE */
  2373. 000016C8  4A98                     tst.l      [A0]+
  2374. 000016CA  6712                     beq        +0x14 /* 000016DE */
  2375. 000016CC  60F6                     bra        -0x8 /* 000016C4 */
  2376. label000016CE:
  2377. 000016CE  43FA 0020                lea.l      A1, [PC + 0x20 /* 000016F0, value 0x76657273 'vers' */]
  2378. 000016D2  D3D0                     add.l      A1, [A0]
  2379. 000016D4  4ED1                     jmp        [A1]
  2380. label000016D6:
  2381. 000016D6  226E 0008                movea.l    A1, [A6 + 0x8]
  2382. 000016DA  2280                     move.l     [A1], D0
  2383. 000016DC  4240                     clr.w      D0
  2384. label000016DE:
  2385. 000016DE  3D40 0010                move.w     [A6 + 0x10], D0
  2386. 000016E2  4E5E                     unlink     A6
  2387. 000016E4  205F                     movea.l    A0, [A7]+
  2388. 000016E6  508F                     addq.l     A7, 8
  2389. 000016E8  4ED0                     jmp        [A0]
  2390. label000016EA:
  2391. 000016EA  303C EA52                move.w     D0, 0xEA52
  2392. 000016EE  60EE                     bra        -0x10 /* 000016DE */
  2393. 000016F0  7665                     moveq.l    D3, 0x65
  2394. 000016F2  7273                     moveq.l    D1, 0x73
  2395. 000016F4  0000 0060                ori.b      D0, 0x60 /* '`' */
  2396. 000016F8  6D61                     blt        +0x63 /* 0000175B */
  2397. 000016FA  6368                     bls        +0x6A /* 00001764 */
  2398. 000016FC  0000 0064                ori.b      D0, 0x64 /* 'd' */
  2399. 00001700  7379                     moveq.l    D1, 0x79
  2400. 00001702  7376                     moveq.l    D1, 0x76
  2401. 00001704  0000 0088                ori.b      D0, 0x88
  2402. 00001708  7072                     moveq.l    D0, 0x72
  2403. 0000170A  6F63                     ble        +0x65 /* 0000176F */
  2404. 0000170C  0000 0092                ori.b      D0, 0x92
  2405. 00001710  6670                     bne        +0x72 /* 00001782 */
  2406. 00001712  7520                     moveq.l    D2, 0x20
  2407. 00001714  0000 009E                ori.b      D0, 0x9E
  2408. 00001718  7164                     moveq.l    D0, 0x64
  2409. 0000171A  2020                     move.l     D0, -[A0]
  2410. 0000171C  0000 00E8                ori.b      D0, 0xE8
  2411. 00001720  6B62                     bmi        +0x64 /* 00001784 */
  2412. 00001722  6420                     bcc        +0x22 /* 00001744 */
  2413. 00001724  0000 011A                ori.b      D0, 0x1A
  2414. 00001728  6174                     bsr        +0x76 /* 0000179E */
  2415. 0000172A  6C6B                     bge        +0x6D /* 00001797 */
  2416. 0000172C  0000 0142                ori.b      D0, 0x42 /* 'B' */
  2417. 00001730  6D6D                     blt        +0x6F /* 0000179F */
  2418. 00001732  7520                     moveq.l    D2, 0x20
  2419. 00001734  0000 0164                ori.b      D0, 0x64 /* 'd' */
  2420. 00001738  7261                     moveq.l    D1, 0x61
  2421. 0000173A  6D20                     blt        +0x22 /* 0000175C */
  2422. 0000173C  0000 0188                ori.b      D0, 0x88
  2423. 00001740  6C72                     bge        +0x74 /* 000017B4 */
  2424. 00001742  616D                     bsr        +0x6F /* 000017B1 */
  2425. label00001744:
  2426. 00001744  0000 0188                ori.b      D0, 0x88
  2427. 00001748  0000 0000                ori.b      D0, 0x0
  2428. 0000174C  0000 0000                ori.b      D0, 0x0
  2429. 00001750  7001                     moveq.l    D0, 0x01
  2430. 00001752  6082                     bra        -0x7C /* 000016D6 */
  2431. 00001754  2278 02AE                movea.l    A1, [0x000002AE /* ROMBase */]
  2432. 00001758  7004                     moveq.l    D0, 0x04
  2433. 0000175A  0C69 0075 0008           cmpi.w     [A1 + 0x8], 0x75 /* 'u' */
  2434. // begin alternate branch 0000175C-0000176A
  2435. label0000175C:
  2436. 0000175C  0075 0008 6712 0C69      ori.w      [[A5 + D6 * 8] + 0xC69], 0x8
  2437. label00001764:
  2438. 00001764  0276 0008 6604           andi.w     [A6 + D6.w * 8 + 0x4], 0x8
  2439. // end alternate branch 0000175C-0000176A
  2440. label0000175C: // (misaligned)
  2441. 00001760  6712                     beq        +0x14 /* 00001774 */
  2442. 00001762  0C69 0276 0008           cmpi.w     [A1 + 0x8], 0x276
  2443. label00001764: // (misaligned)
  2444. 00001768  6604                     bne        +0x6 /* 0000176E */
  2445. 0000176A  5240                     addq.w     D0, 1
  2446. 0000176C  6006                     bra        +0x8 /* 00001774 */
  2447. label0000176E:
  2448. 0000176E  1038 0CB3                move.b     D0, [0x00000CB3 /* MMUFluff/MachineType */]
  2449. 00001772  5C80                     addq.l     D0, 6
  2450. label00001774:
  2451. 00001774  6000 FF60                bra        -0x9E /* 000016D6 */
  2452. 00001778  7000                     moveq.l    D0, 0x00
  2453. 0000177A  3038 015A                move.w     D0, [0x0000015A /* SysVersion */]
  2454. 0000177E  6000 FF56                bra        -0xA8 /* 000016D6 */
  2455. label00001782:
  2456. 00001782  7000                     moveq.l    D0, 0x00
  2457. label00001784:
  2458. 00001784  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  2459. 00001788  5240                     addq.w     D0, 1
  2460. 0000178A  6000 FF4A                bra        -0xB4 /* 000016D6 */
  2461. 0000178E  0C38 0004 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x4
  2462. 00001794  6738                     beq        +0x3A /* 000017CE */
  2463. 00001796  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  2464. 0000179C  6734                     beq        +0x36 /* 000017D2 */
  2465. fn0000179E:
  2466. 0000179E  204F                     movea.l    A0, A7
  2467. 000017A0  F280                     .extension 0x280 // unimplemented
  2468. 000017A2  0000 F327                ori.b      D0, 0x27 /* '\'' */
  2469. 000017A6  3017                     move.w     D0, [A7]
  2470. 000017A8  2E48                     movea.l    A7, A0
  2471. 000017AA  0C40 1F18                cmpi.w     D0, 0x1F18
  2472. 000017AE  6716                     beq        +0x18 /* 000017C6 */
  2473. 000017B0  0C40 3F18                cmpi.w     D0, 0x3F18
  2474. label000017B4:
  2475. 000017B4  6710                     beq        +0x12 /* 000017C6 */
  2476. 000017B6  0C40 3F38                cmpi.w     D0, 0x3F38 /* '?8' */
  2477. 000017BA  670E                     beq        +0x10 /* 000017CA */
  2478. 000017BC  0C40 1F38                cmpi.w     D0, 0x1F38
  2479. 000017C0  6708                     beq        +0xA /* 000017CA */
  2480. 000017C2  7000                     moveq.l    D0, 0x00
  2481. 000017C4  600E                     bra        +0x10 /* 000017D4 */
  2482. label000017C6:
  2483. 000017C6  7001                     moveq.l    D0, 0x01
  2484. 000017C8  600A                     bra        +0xC /* 000017D4 */
  2485. label000017CA:
  2486. 000017CA  7002                     moveq.l    D0, 0x02
  2487. 000017CC  6006                     bra        +0x8 /* 000017D4 */
  2488. label000017CE:
  2489. 000017CE  7003                     moveq.l    D0, 0x03
  2490. 000017D0  6002                     bra        +0x4 /* 000017D4 */
  2491. label000017D2:
  2492. 000017D2  7000                     moveq.l    D0, 0x00
  2493. label000017D4:
  2494. 000017D4  6000 FF00                bra        -0xFE /* 000016D6 */
  2495. 000017D8  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  2496. 000017DE  6E1C                     bgt        +0x1E /* 000017FC */
  2497. 000017E0  303C A89F                move.w     D0, 0xA89F
  2498. 000017E4  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  2499. 000017E6  2408                     move.l     D2, A0
  2500. 000017E8  203C 0000 AB03           move.l     D0, 0xAB03
  2501. 000017EE  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  2502. 000017F0  203C 0000 0100           move.l     D0, 0x100
  2503. 000017F6  B488                     cmp.l      D2, A0
  2504. 000017F8  6606                     bne        +0x8 /* 00001800 */
  2505. 000017FA  600A                     bra        +0xC /* 00001806 */
  2506. label000017FC:
  2507. 000017FC  7000                     moveq.l    D0, 0x00
  2508. 000017FE  6006                     bra        +0x8 /* 00001806 */
  2509. label00001800:
  2510. 00001800  203C 0000 0200           move.l     D0, 0x200
  2511. label00001806:
  2512. 00001806  6000 FECE                bra        -0x130 /* 000016D6 */
  2513. 0000180A  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  2514. 0000180E  41FA 0016                lea.l      A0, [PC + 0x16 /* 00001826, value 0x3130B02 */]
  2515. 00001812  2248                     movea.l    A1, A0
  2516. label00001814:
  2517. 00001814  1218                     move.b     D1, [A0]+
  2518. 00001816  6700 FED2                beq        -0x12C /* 000016EA */
  2519. 0000181A  B200                     cmp.b      D1, D0
  2520. 0000181C  66F6                     bne        -0x8 /* 00001814 */
  2521. 0000181E  91C9                     sub.l      A0, A1
  2522. 00001820  2008                     move.l     D0, A0
  2523. 00001822  6000 FEB2                bra        -0x14C /* 000016D6 */
  2524. 00001826  0313                     btst       [A3], D1
  2525. 00001828  0B02                     btst       D2, D5
  2526. 0000182A  0106                     btst       D6, D0
  2527. 0000182C  0704                     btst       D4, D3
  2528. 0000182E  0508                     btst       A0, D2
  2529. 00001830  0900                     btst       D0, D4
  2530. 00001832  7000                     moveq.l    D0, 0x00
  2531. 00001834  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  2532. 00001838  6B16                     bmi        +0x18 /* 00001850 */
  2533. 0000183A  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  2534. 0000183E  0201 000F                andi.b     D1, 0xF
  2535. 00001842  0C01 0001                cmpi.b     D1, 0x1
  2536. 00001846  6608                     bne        +0xA /* 00001850 */
  2537. 00001848  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  2538. 0000184C  1028 0007                move.b     D0, [A0 + 0x7]
  2539. label00001850:
  2540. 00001850  6000 FE84                bra        -0x17A /* 000016D6 */
  2541. 00001854  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  2542. 0000185A  6D16                     blt        +0x18 /* 00001872 */
  2543. 0000185C  7000                     moveq.l    D0, 0x00
  2544. 0000185E  1038 0CB1                move.b     D0, [0x00000CB1 /* MMUType */]
  2545. 00001862  0C00 0001                cmpi.b     D0, 0x1
  2546. 00001866  670C                     beq        +0xE /* 00001874 */
  2547. 00001868  0C00 0003                cmpi.b     D0, 0x3
  2548. 0000186C  6D04                     blt        +0x6 /* 00001872 */
  2549. 0000186E  5340                     subq.w     D0, 1
  2550. 00001870  6002                     bra        +0x4 /* 00001874 */
  2551. label00001872:
  2552. 00001872  7000                     moveq.l    D0, 0x00
  2553. label00001874:
  2554. 00001874  6000 FE60                bra        -0x19E /* 000016D6 */
  2555. 00001878  303C A89F                move.w     D0, 0xA89F
  2556. 0000187C  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  2557. 0000187E  2408                     move.l     D2, A0
  2558. 00001880  203C 0000 A88F           move.l     D0, 0xA88F
  2559. 00001886  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  2560. 00001888  2038 0108                move.l     D0, [0x00000108 /* MemTop */]
  2561. 0000188C  B488                     cmp.l      D2, A0
  2562. 0000188E  670A                     beq        +0xC /* 0000189A */
  2563. 00001890  598F                     subq.l     A7, 4
  2564. 00001892  3F3C 0016                move.w     -[A7], 0x16
  2565. 00001896  A88F                     syscall    OSDispatch
  2566. 00001898  201F                     move.l     D0, [A7]+
  2567. label0000189A:
  2568. 0000189A  6000 FE3A                bra        -0x1C4 /* 000016D6 */
  2569. fn0000189E:
  2570. 0000189E  225F                     movea.l    A1, [A7]+
  2571. 000018A0  101F                     move.b     D0, [A7]+
  2572. 000018A2  205F                     movea.l    A0, [A7]+
  2573. 000018A4  6606                     bne        +0x8 /* 000018AC */
  2574. 000018A6  7009                     moveq.l    D0, 0x09
  2575. 000018A8  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2576. 000018AA  6004                     bra        +0x6 /* 000018B0 */
  2577. label000018AC:
  2578. 000018AC  7009                     moveq.l    D0, 0x09
  2579. 000018AE  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2580. label000018B0:
  2581. 000018B0  3E80                     move.w     [A7], D0
  2582. 000018B2  4ED1                     jmp        [A1]
  2583. fn000018B4:
  2584. 000018B4  225F                     movea.l    A1, [A7]+
  2585. 000018B6  101F                     move.b     D0, [A7]+
  2586. 000018B8  205F                     movea.l    A0, [A7]+
  2587. 000018BA  6606                     bne        +0x8 /* 000018C2 */
  2588. 000018BC  700A                     moveq.l    D0, 0x0A
  2589. 000018BE  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  2590. 000018C0  6004                     bra        +0x6 /* 000018C6 */
  2591. label000018C2:
  2592. 000018C2  700A                     moveq.l    D0, 0x0A
  2593. 000018C4  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  2594. label000018C6:
  2595. 000018C6  3E80                     move.w     [A7], D0
  2596. 000018C8  4ED1                     jmp        [A1]
  2597. fn000018CA:
  2598. 000018CA  206F 0004                movea.l    A0, [A7 + 0x4]
  2599. 000018CE  202F 0008                move.l     D0, [A7 + 0x8]
  2600. 000018D2  4267                     clr.w      -[A7]
  2601. 000018D4  A9EE                     syscall    Pack7/DecStr68K
  2602. 000018D6  205F                     movea.l    A0, [A7]+
  2603. 000018D8  504F                     addq.w     A7, 8
  2604. 000018DA  4ED0                     jmp        [A0]
  2605. fn000018DC:
  2606. 000018DC  4E56 0000                link       A6, 0
  2607. 000018E0  594F                     subq.w     A7, 4
  2608. 000018E2  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  2609. 000018E8  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  2610. 000018EC  A9A0                     syscall    GetResource
  2611. 000018EE  226E 000C                movea.l    A1, [A6 + 0xC]
  2612. 000018F2  4211                     clr.b      [A1]
  2613. 000018F4  201F                     move.l     D0, [A7]+
  2614. 000018F6  6722                     beq        +0x24 /* 0000191A */
  2615. 000018F8  2040                     movea.l    A0, D0
  2616. 000018FA  2050                     movea.l    A0, [A0]
  2617. 000018FC  3018                     move.w     D0, [A0]+
  2618. 000018FE  322E 0008                move.w     D1, [A6 + 0x8]
  2619. 00001902  6716                     beq        +0x18 /* 0000191A */
  2620. 00001904  B240                     cmp.w      D1, D0
  2621. 00001906  6212                     bhi        +0x14 /* 0000191A */
  2622. 00001908  7000                     moveq.l    D0, 0x00
  2623. label0000190A:
  2624. 0000190A  5341                     subq.w     D1, 1
  2625. 0000190C  6706                     beq        +0x8 /* 00001914 */
  2626. 0000190E  1018                     move.b     D0, [A0]+
  2627. 00001910  D1C0                     add.l      A0, D0
  2628. 00001912  60F6                     bra        -0x8 /* 0000190A */
  2629. label00001914:
  2630. 00001914  1010                     move.b     D0, [A0]
  2631. 00001916  5240                     addq.w     D0, 1
  2632. 00001918  A02E                     syscall    BlockMove/BlockMoveData
  2633. label0000191A:
  2634. 0000191A  4E5E                     unlink     A6
  2635. 0000191C  205F                     movea.l    A0, [A7]+
  2636. 0000191E  508F                     addq.l     A7, 8
  2637. 00001920  4ED0                     jmp        [A0]
  2638.